|
@@ -130,6 +130,18 @@ echo -e "\t$ snap set $SNAP_NAME oauth2-token-endpoint='/oauth/token'"
|
|
echo -e "\t-Disable the OAuth2 Token Endpoint of Wekan:"
|
|
echo -e "\t-Disable the OAuth2 Token Endpoint of Wekan:"
|
|
echo -e "\t$ snap set $SNAP_NAME oauth2-token-endpoint=''"
|
|
echo -e "\t$ snap set $SNAP_NAME oauth2-token-endpoint=''"
|
|
echo -e "\n"
|
|
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 "OAuth2 ID Mapping."
|
|
echo -e "OAuth2 ID Mapping."
|
|
echo -e "To enable the OAuth2 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$ snap set $SNAP_NAME oauth2-id-map='username.uid'"
|