You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using docker-kong-oidc (which is using lua-resty-openidc) as docker image of Kong in kubernetes helm chart. Increased kubernetes Pods of kong using replicaCount to more than 1.
X_SESSION_SECRET env variable is patched into nginx_kong.lua as session_secret in the Dockerfile :
sed -i '/server_name kong;/a\ \n\ set \$session_secret "\${{X_SESSION_SECRET}}";\n\ ' "$TPL"
i am not passing any env X_SESSION_SECRET
so it means every Pod of Kong would be using different secret to encrypt the cookie ?
how to find the secret generated by lua-resty-session for encryption and decryption for each Pod ?
The text was updated successfully, but these errors were encountered:
I am using docker-kong-oidc (which is using lua-resty-openidc) as docker image of Kong in kubernetes helm chart. Increased kubernetes Pods of kong using
replicaCount
to more than 1.X_SESSION_SECRET env variable is patched into nginx_kong.lua as session_secret in the Dockerfile :
sed -i '/server_name kong;/a\ \n\ set \$session_secret "\${{X_SESSION_SECRET}}";\n\ ' "$TPL"
i am not passing any env X_SESSION_SECRET
so it means every Pod of Kong would be using different secret to encrypt the cookie ?
how to find the secret generated by lua-resty-session for encryption and decryption for each Pod ?
The text was updated successfully, but these errors were encountered: