mirror of
https://github.com/wekan/wekan.git
synced 2025-04-20 12:07:11 -04:00
Try to fix OAUTH2_REQUEST_PERMISSIONS by removing quotes.
Thanks to pcurie and xet7 !
Related 892ee60527
This commit is contained in:
parent
9b56f149e1
commit
5e65dfc272
6 changed files with 7 additions and 7 deletions
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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=
|
||||
|
|
|
@ -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=
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue