Skip to content

Commit

Permalink
fix(kong): error with kong manager auth
Browse files Browse the repository at this point in the history
  • Loading branch information
jpeedroza committed May 20, 2022
1 parent 59d0f60 commit a3e3a64
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vkpr/kong/install/src/unix/formula/formula.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,20 @@ addDependencies(){
mkdir -p /tmp/config/
printf "{
\"cookie_name\": \"admin_session\",
\"cookie_samesite\": \"Strict\",
\"cookie_samesite\": \"off\",
\"secret\": \"$(openssl rand -base64 32)\",
\"cookie_secure\": false,
\"storage\": \"kong\",
\"cookie_domain\": \".%s\"
\"cookie_domain\": \"manager.%s\"
}" "$VKPR_ENV_GLOBAL_DOMAIN" > /tmp/config/admin_gui_session_conf

printf "{
\"cookie_name\": \"portal_session\",
\"cookie_samesite\": \"Strict\",
\"cookie_samesite\": \"off\",
\"secret\": \"$(openssl rand -base64 32)\",
\"cookie_secure\": false,
\"storage\": \"kong\",
\"cookie_domain\": \".%s\"
\"cookie_domain\": \"portal.%s\"
}" "$VKPR_ENV_GLOBAL_DOMAIN" > /tmp/config/portal_session_conf

if [[ "$VKPR_ENV_KONG_DEPLOY" == "hybrid" ]]; then
Expand Down

0 comments on commit a3e3a64

Please sign in to comment.