Try to fix OAUTH2_REQUEST_PERMISSIONS by removing quotes.

Thanks to pcurie and xet7 !

Related 892ee60527
This commit is contained in:
Lauri Ojansivu 2022-01-21 18:11:47 +02:00
parent 9b56f149e1
commit 5e65dfc272
6 changed files with 7 additions and 7 deletions

View file

@ -54,7 +54,7 @@ ENV \
OAUTH2_USERNAME_MAP="" \
OAUTH2_FULLNAME_MAP="" \
OAUTH2_ID_TOKEN_WHITELIST_FIELDS="" \
OAUTH2_REQUEST_PERMISSIONS='openid profile email' \
OAUTH2_REQUEST_PERMISSIONS="openid profile email" \
OAUTH2_EMAIL_MAP="" \
LDAP_ENABLE=false \
LDAP_PORT=389 \

View file

@ -195,7 +195,7 @@
# OAUTH2 ID Token Whitelist Fields.
#export OAUTH2_ID_TOKEN_WHITELIST_FIELDS=[]
# OAUTH2 Request Permissions.
#export OAUTH2_REQUEST_PERMISSIONS='openid profile email'
#export OAUTH2_REQUEST_PERMISSIONS=openid profile email
# OAuth2 ID Mapping
#export OAUTH2_ID_MAP=
# OAuth2 Username Mapping

View file

@ -252,8 +252,8 @@ DESCRIPTION_OAUTH2_ID_TOKEN_WHITELIST_FIELDS="OAuth2 ID Token Whitelist Fields."
DEFAULT_OAUTH2_ID_TOKEN_WHITELIST_FIELDS=""
KEY_OAUTH2_ID_TOKEN_WHITELIST_FIELDS="oauth2-id-token-whitelist-fields"
DESCRIPTION_OAUTH2_REQUEST_PERMISSIONS="OAuth2 Request Permissions. Example: 'openid profile email'"
DEFAULT_OAUTH2_REQUEST_PERMISSIONS="'openid profile email'"
DESCRIPTION_OAUTH2_REQUEST_PERMISSIONS="OAuth2 Request Permissions. Example: openid profile email"
DEFAULT_OAUTH2_REQUEST_PERMISSIONS="openid profile email"
KEY_OAUTH2_REQUEST_PERMISSIONS="oauth2-request-permissions"
DESCRIPTION_OAUTH2_EMAIL_MAP="OAuth2 Email Mapping. Example: email"

View file

@ -276,7 +276,7 @@ echo -e "\t$ snap unset $SNAP_NAME oauth2-id-token-whitelist-fields"
echo -e "\n"
echo -e "OAuth2 Request Permissions."
echo -e "To enable the OAuth2 Request Permissions of Wekan:"
echo -e "\t$ snap set $SNAP_NAME oauth2-request-permissions=\"'openid profile email'\""
echo -e "\t$ snap set $SNAP_NAME oauth2-request-permissions=\"openid profile email\""
echo -e "\t-Disable the OAuth2 Request Permissions of Wekan:"
echo -e "\t$ snap unset $SNAP_NAME oauth2-request-permissions"
echo -e "\n"

View file

@ -170,7 +170,7 @@ REM # OAUTH2 ID Token Whitelist Fields.
REM SET OAUTH2_ID_TOKEN_WHITELIST_FIELDS=[]
REM # OAUTH2 Request Permissions.
REM SET OAUTH2_REQUEST_PERMISSIONS='openid profile email'
REM SET OAUTH2_REQUEST_PERMISSIONS=openid profile email
REM # OAuth2 ID Mapping
REM SET OAUTH2_ID_MAP=

View file

@ -221,7 +221,7 @@
#export OAUTH2_ID_TOKEN_WHITELIST_FIELDS=[]
#
# OAUTH2 Request Permissions.
#export OAUTH2_REQUEST_PERMISSIONS='openid profile email'
#export OAUTH2_REQUEST_PERMISSIONS=openid profile email
#
# OAuth2 ID Mapping
#export OAUTH2_ID_MAP=