[Answer]-Cannot pass APP ID while using Django Social Auth

1๐Ÿ‘

โœ…

I figured out what was the problem. I had installed python social auth then installed django-social auth. My application was still using the python-social-auth package.

Using the python-social-Auth syntax of naming configuration variables, I added the prefix

SOCIAL_AUTH_

to my config variables so that they now looked like this

SOCIAL_AUTH_FACEBOOK_SECRET='*******************'
SOCIAL_AUTH_FACEBOOK_APP_NAMESPACE = '*******'
SOCIAL_AUTH_FACEBOOK_EXTENDED_PERMISSIONS = ['email']

SOCIAL_AUTH_TWITTER_KEY  = '********'
SOCIAL_AUTH_TWITTER_SECRET = '************'


SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '*************************************'
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET  = '****************'

I can now log in. Thanks

๐Ÿ‘คMagondu

Leave a comment