diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-02-13 03:01:10 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2019-02-13 03:01:10 +0200 |
commit | b66f471e530d41a3f12e4bfc29548313e9a73c35 (patch) | |
tree | b6b76303cc587f9902531a2f5c3eb360684e74dc /snap-src/bin/wekan-help | |
parent | 202b8a92af25946539d2009f3a54fbac4bcf2c7e (diff) | |
download | wekan-b66f471e530d41a3f12e4bfc29548313e9a73c35.tar.gz wekan-b66f471e530d41a3f12e4bfc29548313e9a73c35.tar.bz2 wekan-b66f471e530d41a3f12e4bfc29548313e9a73c35.zip |
- Add configurable settings OAUTH2_ID_TOKEN_WHITELIST_FIELDS
and OAUTH2_REQUEST_PERMISSIONS.
Thanks to xet7.
Related #1874
Diffstat (limited to 'snap-src/bin/wekan-help')
-rwxr-xr-x | snap-src/bin/wekan-help | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/snap-src/bin/wekan-help b/snap-src/bin/wekan-help index 431be029..80cbc7ad 100755 --- a/snap-src/bin/wekan-help +++ b/snap-src/bin/wekan-help @@ -102,29 +102,41 @@ echo -e "\t-Disable the OAuth2 Token Endpoint of Wekan:" echo -e "\t$ snap set $SNAP_NAME oauth2-token-endpoint=''" echo -e "\n" echo -e "OAuth2 ID Mapping." -echo -e "To enable the ID Mapping of Wekan:" +echo -e "To enable the OAuth2 ID Mapping of Wekan:" echo -e "\t$ snap set $SNAP_NAME oauth2-id-map='username.uid'" -echo -e "\t-Disable the ID Mapping of Wekan:" +echo -e "\t-Disable the OAuth2 ID Mapping of Wekan:" echo -e "\t$ snap set $SNAP_NAME oauth2-id-map=''" echo -e "\n" echo -e "OAuth2 Username Mapping." -echo -e "To enable the Username Mapping of Wekan:" +echo -e "To enable the OAuth2 Username Mapping of Wekan:" echo -e "\t$ snap set $SNAP_NAME oauth2-username-map='username'" -echo -e "\t-Disable the Username Mapping of Wekan:" +echo -e "\t-Disable the OAuth2 Username Mapping of Wekan:" echo -e "\t$ snap set $SNAP_NAME oauth2-username-map=''" echo -e "\n" echo -e "OAuth2 Fullname Mapping." -echo -e "To enable the Fullname Mapping of Wekan:" +echo -e "To enable the OAuth2 Fullname Mapping of Wekan:" echo -e "\t$ snap set $SNAP_NAME oauth2-fullname-map='fullname'" -echo -e "\t-Disable the Fullname Mapping of Wekan:" +echo -e "\t-Disable the OAuth2 Fullname Mapping of Wekan:" echo -e "\t$ snap set $SNAP_NAME oauth2-fullname-map=''" echo -e "\n" echo -e "OAuth2 Email Mapping." -echo -e "To enable the Email Mapping of Wekan:" +echo -e "To enable the OAuth2 Email Mapping of Wekan:" echo -e "\t$ snap set $SNAP_NAME oauth2-email-map='email'" -echo -e "\t-Disable the Email Mapping of Wekan:" +echo -e "\t-Disable the OAuth2 Email Mapping of Wekan:" echo -e "\t$ snap set $SNAP_NAME oauth2-email-map=''" echo -e "\n" +echo -e "OAuth2 ID Token Whitelist Fields." +echo -e "To enable the OAuth2 ID Token Whitelist Fields of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-id-token-whitelist-fields='[]'" +echo -e "\t-Disable the OAuth2 ID Token Whitelist Fields of Wekan:" +echo -e "\t$ snap set $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-Disable the OAuth2 Request Permissions of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-request-permissions=''" +echo -e "\n" echo -e "Ldap Enable." echo -e "To enable the ldap of Wekan:" echo -e "\t$ snap set $SNAP_NAME ldap-enable='true'" |