From 7919ae362866c0cacf2a486bf91b12e4d25807d7 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Thu, 21 Mar 2019 21:37:38 +0200 Subject: - OAUTH2_LOGIN_STYLE popup or redirect, part 2. Thanks to xet7 ! --- start-wekan.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'start-wekan.sh') diff --git a/start-wekan.sh b/start-wekan.sh index a791944e..4e7f930c 100755 --- a/start-wekan.sh +++ b/start-wekan.sh @@ -89,6 +89,9 @@ function wekan_repo_check(){ # 2) Configure the environment variables. This differs slightly # by installation type, but make sure you have the following: #export OAUTH2_ENABLED=true + # OAuth2 docs: https://github.com/wekan/wekan/wiki/OAuth2 + # OAuth2 login style: popup or redirect. + #export OAUTH2_LOGIN_STYLE=redirect # Application GUID captured during app registration: #export OAUTH2_CLIENT_ID=xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx # Secret key generated during app registration: @@ -109,6 +112,8 @@ function wekan_repo_check(){ # ==== OAUTH2 KEYCLOAK ==== # https://github.com/wekan/wekan/wiki/Keycloak <== MAPPING INFO, REQUIRED #export OAUTH2_ENABLED=true + # OAuth2 login style: popup or redirect. + #export OAUTH2_LOGIN_STYLE=redirect #export OAUTH2_CLIENT_ID= #export OAUTH2_SERVER_URL=/auth #export OAUTH2_AUTH_ENDPOINT=/realms//protocol/openid-connect/auth @@ -117,11 +122,13 @@ function wekan_repo_check(){ #export OAUTH2_SECRET= #----------------------------------------------------------------- # ==== OAUTH2 DOORKEEPER ==== + # OAuth2 docs: https://github.com/wekan/wekan/wiki/OAuth2 # https://github.com/wekan/wekan/issues/1874 # https://github.com/wekan/wekan/wiki/OAuth2 # Enable the OAuth2 connection #export OAUTH2_ENABLED=true - # OAuth2 docs: https://github.com/wekan/wekan/wiki/OAuth2 + # OAuth2 login style: popup or redirect. + #export OAUTH2_LOGIN_STYLE=redirect # OAuth2 Client ID. #export OAUTH2_CLIENT_ID=abcde12345 # OAuth2 Secret. -- cgit v1.2.3-1-g7c22