Uh oh!
There was an error while loading. Please reload this page.
fix: Add missing security settings for session cookie - #53542
Conversation
1f8602d to
5c4742aComparevincbeck
commented
Jul 21, 2025
We marked these configs as deleted in |
LipuFei
commented
Jul 22, 2025
Hi @vincelevey , I don't necessarily need these options back, but I found that with self-hosting, the api-server doesn't have these options on by default. I can see from Firefox that my session cookie is not HTTP-only, and not secure, etc. Perhaps you know a better way to have them configured in api-server in 3.0? I currently just add these 3 options in the api-server config python file via the Helm chart values, and it works. I think it would be great if these options can be set more transparently. |
vincbeck
commented
Jul 30, 2025
You are using these config so you need them back and I think this is okay. You are using these configs |
LipuFei
commented
Jul 30, 2025
Thank you. I will check that PR and update my changes. |
f358a37 to
b28ee8fCompareb28ee8f to
af273a2Compare
vin100bk
left a comment
There was a problem hiding this comment.
Nice! Thanks for taking the time to update the PR :) Much appreciated
vincbeck
left a comment
There was a problem hiding this comment.
Nice! Thanks for taking the time to update the PR :) Much appreciated
Uh oh!
There was an error while loading. Please reload this page.
Will this fix be included in the next release? Thanks! Update: a quick question, not sure if this issue is related, #47878, which will be released in 3.2.0. |
vincbeck
commented
Dec 16, 2025
It is mostly a provider change so this is already released in the latest fab provider version |
snowsky
commented
Dec 18, 2025
Is this env var still valid |
vincbeck
commented
Jan 5, 2026
It is now |
Add the following security-related session cookie settings that was missing:
SESSION_COOKIE_HTTPONLY = TrueSESSION_COOKIE_SECUREcomes from config[fab] COOKIE_SECURESESSION_COOKIE_SAMESITEcomes from config[fab] COOKIE_SAMESITE[webserver] COOKIE_SECUREis renamed to[fab] COOKIE_SECURE[webserver] COOKIE_SAMESITEis renamed to[fab] COOKIE_SAMESITEWe may want to change the config location because this is now in api-server in 3.0?