New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Twitter login not working #164
Comments
I'm getting same, haven't solved, but maybe related to this- python-social-auth/social-core#249 Twitter now requiring a valid call back URL & maybe didn't before June 12 |
I had the same issue and I did solve it by adding to the valid callback url on the twitter app config at https://apps.twitter.com/ |
I've tried the same but no luck, still get the same error. |
@DavidToca hi! could you please tell us, where exactly in your project did you configured the callback url for twitter and how? Thanks a lot! |
If @DavidToca's solution isn't working for you, double check that your URL matches exactly what it used. For instance, have "http" or "https" correct, and whether "www" is there or not. |
I had this issue and updated my app settings to have something like these. Note the forward slashes
You can update the app settings in https://apps.twitter.com |
Same issue, changes made but without luck, i still have the 403 Client Error. Is there some other workaround? |
Twitter has used the white list since a week ago. |
I had the same issue and I have resolved by adding callback urls like
i had set "auth" to urls.py for login. |
Has anyone come up with a solution other than the ones mentioned above? |
Upgrade the following packages to the latest version using pip: social-auth-app-django
social-auth-core Steps to follow:1. Login to you Twitter account http://example.com/complete/twitter/
or
http://www.example.com/complete/twitter/ If it is https i.e. it supports SSL certificate (recommended), then add the following: https://example.com/complete/twitter/
or
https://www.example.com/complete/twiiter/ Note: |
The solution above (adding correct callback to the white list) should work. |
Exactly. Thanks a lot |
For me these works. I put 3 references in that box. and be careful with the last slash. |
I needed to make sure I have '/' after the whole callback URL 😄 |
Hi @henpin , Does
Can you tell me where I am doing wrong? |
Twitter its working fine for me... or let me check
[image: image.png]
Yes, seems it's working fine
…On Fri, May 29, 2020 at 9:45 AM HARDIK DADHICH ***@***.***> wrote:
Hi @henpin <https://github.com/henpin> , Does
http://localhost:8000/auth/complete/twitter/ works for you?
because I am using these callbacks but none of them is working!!
Callback URL
http://localhost:8000/oauth/complete/twitter/http://localhost:8000/auth/complete/twitter/http://localhost:8000/oauth/login/twitter/
Can you tell me where I am doing wrong?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#164 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQTR7W2STJXRGYQOC23MFTRT7KAXANCNFSM4FEXVU7Q>
.
--
--
Juan Alejandro Zapeta Perez
|
The above redirect urls seems to be not working but the below ones did https://mysite.com:8000/social-authcomplete/facebook/ |
If you're running on localhost and you still get the error. Make sure the port you're running on matches the port you presented on Twitter CALLBACK URLS Example instead of |
for social-auth-app-django |
Took me a night and a day to finally find this solution, thank you |
I was seeing this issue with one user (but not all) in production (not on a dev/localhost box). This fixed it: Tell the user to go to their Twitter settings and revoke your app's access (currently under: Settings > Security & Account Access > Apps & Sessions > Connected Apps). Then return to your site/app and login again. Worked. |
Twitter change the callback policy, now when I try to login my callback "oauth/complete/twitter/" not work and twitter return error 403:
`
`
The text was updated successfully, but these errors were encountered: