social-app-django icon indicating copy to clipboard operation
social-app-django copied to clipboard

some global variables are not working

Open jerinpetergeorge opened this issue 6 years ago • 3 comments

The variables, SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_DOMAINS and SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_EMAILS are not working as described in the documentation here.

jerinpetergeorge avatar Aug 22 '17 05:08 jerinpetergeorge

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.

remort avatar Jun 19 '19 09:06 remort

Any update on this issue?

iam-mhaseeb avatar Sep 08 '19 15:09 iam-mhaseeb

I solved it by adding relevant middle wares in my project.

iam-mhaseeb avatar Sep 09 '19 07:09 iam-mhaseeb