summaryrefslogtreecommitdiffstats
path: root/snap-src/bin/wekan-help
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-06-11 17:48:08 +0300
committerLauri Ojansivu <x@xet7.org>2019-06-11 17:48:08 +0300
commitf154c0338572fa09b3134d177c76e534c5947ed4 (patch)
tree524ea7c9396d54a93c9aeab989ac3bc86b018cc0 /snap-src/bin/wekan-help
parent526e10865ff0c2c4465ead8ae14328ebf0d40257 (diff)
parente1e20275a673d3065c6cf239db8d2f1a505baa69 (diff)
downloadwekan-f154c0338572fa09b3134d177c76e534c5947ed4.tar.gz
wekan-f154c0338572fa09b3134d177c76e534c5947ed4.tar.bz2
wekan-f154c0338572fa09b3134d177c76e534c5947ed4.zip
Merge branch 'edge' into meteor-1.8
Diffstat (limited to 'snap-src/bin/wekan-help')
-rwxr-xr-xsnap-src/bin/wekan-help12
1 files changed, 11 insertions, 1 deletions
diff --git a/snap-src/bin/wekan-help b/snap-src/bin/wekan-help
index 56f418ff..f8509d4c 100755
--- a/snap-src/bin/wekan-help
+++ b/snap-src/bin/wekan-help
@@ -68,6 +68,16 @@ echo -e "\t$ snap set $SNAP_NAME cors='*'"
echo -e "\t-Disable the CORS:"
echo -e "\t$ snap set $SNAP_NAME cors=''"
echo -e "\n"
+echo -e "To enable the Set Access-Control-Allow-Headers header. \"Authorization,Content-Type\" is required for cross-origin use of the API."
+echo -e "\t$ snap set $SNAP_NAME cors-allow-headers='Authorization,Content-Type'"
+echo -e "\t-Disable the Set Access-Control-Allow-Headers header. \"Authorization,Content-Type\" is required for cross-origin use of the API."
+echo -e "\t$ snap set $SNAP_NAME cors-allow-headers=''"
+echo -e "\n"
+echo -e "To enable the Set Access-Control-Expose-Headers header. This is not needed for typical CORS situations. Example: *"
+echo -e "\t$ snap set $SNAP_NAME cors-expose-headers='*'"
+echo -e "\t-Disable the Set Access-Control-Expose-Headers header. This is not needed for typical CORS situations. Example: ''"
+echo -e "\t$ snap set $SNAP_NAME cors-expose-headers=''"
+echo -e "\n"
echo -e "Enable browser policy and allow one trusted URL that can have iframe that has Wekan embedded inside."
echo -e "\t\t Setting this to false is not recommended, it also disables all other browser policy protections"
echo -e "\t\t and allows all iframing etc. See wekan/server/policy.js"
@@ -138,7 +148,7 @@ 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$ 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"