Skip to content

Commit ccf0e32

Browse files
author
Daniel Pimenta
committed
Add setting for scopes
1 parent 397256a commit ccf0e32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

portal/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
OIDC_STORE_ID_TOKEN = True
148148

149149
TOKEN_ID_COOKIE = os.environ.get('TOKEN_ID_COOKIE',"auth_user_id")
150-
OIDC_RP_SCOPES = "openid user_name is_operator"
150+
OIDC_RP_SCOPES = os.environ.get('OIDC_RP_SCOPES', "openid user_name is_operator")
151151

152152

153153
USER_PREFIX = os.environ.get('USER_PREFIX','user-prefix')

0 commit comments

Comments
 (0)