- Add configurable settings OAUTH2_ID_TOKEN_WHITELIST_FIELDS

and OAUTH2_REQUEST_PERMISSIONS.

Thanks to xet7.

Related #1874
This commit is contained in:
Lauri Ojansivu 2019-02-13 03:01:10 +02:00
parent 202b8a92af
commit b66f471e53
8 changed files with 53 additions and 12 deletions

View file

@ -93,8 +93,12 @@ function wekan_repo_check(){
#export OAUTH2_USERNAME_MAP=email
# The claim name you want to map to the full name field:
#export OAUTH2_FULLNAME_MAP=name
# Tthe claim name you want to map to the email field:
# The claim name you want to map to the email field:
#export OAUTH2_EMAIL_MAP=email
# OAUTH2 ID Token Whitelist Fields.
#export OAUTH2_ID_TOKEN_WHITELIST_FIELDS=[]
# OAUTH2 Request Permissions.
#export OAUTH2_REQUEST_PERMISSIONS=[openid profile email]
#-----------------------------------------------------------------
# ==== OAUTH2 KEYCLOAK ====
# https://github.com/wekan/wekan/wiki/Keycloak <== MAPPING INFO, REQUIRED