diff --git a/django/core/settings/defaults.py b/django/core/settings/defaults.py index 0bc6935b5..464048145 100644 --- a/django/core/settings/defaults.py +++ b/django/core/settings/defaults.py @@ -121,6 +121,7 @@ def is_test(self): "allauth.account", "allauth.socialaccount", "allauth.socialaccount.providers.github", + "allauth.socialaccount.providers.google", "allauth.socialaccount.providers.orcid", ] @@ -505,9 +506,11 @@ def is_test(self): # https://developer.github.com/apps/building-integrations/setting-up-and-registering-oauth-apps/about-scopes-for-oauth-apps/ "github": { "SCOPE": [ + "read:user", "user:email", "read:org", ], + # "VERIFIED_EMAIL": True, }, # http://django-allauth.readthedocs.io/en/latest/providers.html#orcid # NOTE: must be deleted in production settings @@ -517,7 +520,6 @@ def is_test(self): }, } - DISCOURSE_BASE_URL = os.getenv( "DISCOURSE_BASE_URL", "https://staging-discourse.comses.net" )