social-app-django
social-app-django copied to clipboard
some global variables are not working
The variables, SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_DOMAINS
and SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_EMAILS
are not working as described in the documentation here.
I can log in only if user is a superuser (which is not in case of a new user). But user email's domain is listed in SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_DOMAINS
. So, yes - it doesn't work as expected.
Any update on this issue?
I solved it by adding relevant middle wares in my project.