I've got django-social-auth working well with Facebook and Google however every time a Twitter user logs in it prompts them to authorize my app. It seems like the tokens may be expiring almost immediately.
Any ideas on what might be causing this?
I've got django-social-auth working well with Facebook and Google however every time a Twitter user logs in it prompts them to authorize my app. It seems like the tokens may be expiring almost immediately.
Any ideas on what might be causing this?
If I were you I will start like this:
Check you included the aprropriate backend
AUTHENTICATION_BACKENDS = ( 'social_auth.backends.twitter.TwitterBackend',)
Go to dev.twitter.com and recheck everything in the app's configuration
2. In settings.py add the following parameter
SOCIAL_AUTH_SESSION_EXPIRATION = False
The first table must contain an entry with the tokens and the other a non expiring session. This might give you more information about the doings.