diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-03-21 21:37:38 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2019-03-21 21:37:38 +0200 |
commit | 7919ae362866c0cacf2a486bf91b12e4d25807d7 (patch) | |
tree | 06f164b817896ae78aac9d0fb2ba586d7136befb /start-wekan.sh | |
parent | 188d42dcd678025e7de537463ee2a1c774b4e062 (diff) | |
download | wekan-7919ae362866c0cacf2a486bf91b12e4d25807d7.tar.gz wekan-7919ae362866c0cacf2a486bf91b12e4d25807d7.tar.bz2 wekan-7919ae362866c0cacf2a486bf91b12e4d25807d7.zip |
- OAUTH2_LOGIN_STYLE popup or redirect, part 2.
Thanks to xet7 !
Diffstat (limited to 'start-wekan.sh')
-rwxr-xr-x | start-wekan.sh | 9 |
1 files changed, 8 insertions, 1 deletions
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=<Keycloak create Client ID> #export OAUTH2_SERVER_URL=<Keycloak server name>/auth #export OAUTH2_AUTH_ENDPOINT=/realms/<keycloak realm>/protocol/openid-connect/auth @@ -117,11 +122,13 @@ function wekan_repo_check(){ #export OAUTH2_SECRET=<keycloak client 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. |