diff --git a/aleksis/core/settings.py b/aleksis/core/settings.py index b606113f3fd765e7c4d7116770db5a8b00f738f9..25fe9257282488bbcd3948ed5c3f7e6d8bee771b 100644 --- a/aleksis/core/settings.py +++ b/aleksis/core/settings.py @@ -338,16 +338,6 @@ if _settings.get("oauth2.oidc.enabled", False): # "OIDC_ISS_ENDPOINT": _settings.get("oauth2.oidc.issuer_name", "example.com"), } ) - OAUTH2_PROVIDER["SCOPES"].update( - { - "openid": _("OpenID Connect scope"), - "profile": _("Given name, family name, link to profile and picture if existing."), - "address": _("Full home postal address"), - "email": _("Email address"), - "phone": _("Home and mobile phone"), - "groups": _("Groups"), - } - ) # Configuration for REST framework REST_FRAMEWORK = {