From 892ee605270d583d800ec5ff9e1e4844eae92b38 Mon Sep 17 00:00:00 2001 From: DominikPf <> Date: Thu, 23 May 2019 10:28:08 +0200 Subject: Fix Scope parsing Issue for OAuth2 Login --- start-wekan.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'start-wekan.sh') diff --git a/start-wekan.sh b/start-wekan.sh index 25fd9bb1..a904a179 100755 --- a/start-wekan.sh +++ b/start-wekan.sh @@ -144,7 +144,7 @@ function wekan_repo_check(){ # 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 -- cgit v1.2.3-1-g7c22 From 86e7e1c600096101cb0d594b22fffe4dae481ef4 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Tue, 11 Jun 2019 16:32:42 +0300 Subject: More CORS headers settings related to https://github.com/wekan/wekan/pull/2429 Thanks to xet7 ! --- start-wekan.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'start-wekan.sh') diff --git a/start-wekan.sh b/start-wekan.sh index a904a179..8dcdf15f 100755 --- a/start-wekan.sh +++ b/start-wekan.sh @@ -56,6 +56,10 @@ function wekan_repo_check(){ #--------------------------------------------- # CORS: Set Access-Control-Allow-Origin header. Example: * #export CORS=* + # To enable the Set Access-Control-Allow-Headers header. "Authorization,Content-Type" is required for cross-origin use of the API. + #export CORS_ALLOW_HEADERS=Authorization,Content-Type + # To enable the Set Access-Control-Expose-Headers header. This is not needed for typical CORS situations. Example: * + #export CORS_EXPOSE_HEADERS=* #--------------------------------------------- ## Optional: Integration with Matomo https://matomo.org that is installed to your server ## The address of the server where Matomo is hosted: -- cgit v1.2.3-1-g7c22