Commit 91da4dfe by Clinton Blackburn

Merge pull request #90 from edx/backend-update

Added Email Scope to OIDC Backend
parents 7698a61c 2a581552
...@@ -55,7 +55,7 @@ class EdXOAuth2(EdXOAuth2Mixin, BaseOAuth2): ...@@ -55,7 +55,7 @@ class EdXOAuth2(EdXOAuth2Mixin, BaseOAuth2):
# pylint: disable=abstract-method # pylint: disable=abstract-method
class EdXOpenIdConnect(EdXOAuth2Mixin, OpenIdConnectAuth): class EdXOpenIdConnect(EdXOAuth2Mixin, OpenIdConnectAuth):
name = 'edx-oidc' name = 'edx-oidc'
DEFAULT_SCOPE = ['openid', 'profile'] DEFAULT_SCOPE = ['openid', 'profile', 'email']
ID_TOKEN_ISSUER = settings.SOCIAL_AUTH_EDX_OIDC_URL_ROOT ID_TOKEN_ISSUER = settings.SOCIAL_AUTH_EDX_OIDC_URL_ROOT
AUTHORIZATION_URL = '{0}/authorize/'.format(settings.SOCIAL_AUTH_EDX_OIDC_URL_ROOT) AUTHORIZATION_URL = '{0}/authorize/'.format(settings.SOCIAL_AUTH_EDX_OIDC_URL_ROOT)
ACCESS_TOKEN_URL = '{0}/access_token/'.format(settings.SOCIAL_AUTH_EDX_OIDC_URL_ROOT) ACCESS_TOKEN_URL = '{0}/access_token/'.format(settings.SOCIAL_AUTH_EDX_OIDC_URL_ROOT)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment