[Bug]: session cookie is missing in Chrome and Safari #27
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
It seems that Firefox accepts the session cookie with flag SameSite=None with a warning but not Chrome or Safari. Chrome says:
Cookies marked with SameSite=None must also be marked with Secure to allow setting them in a cross-site context. This behavior protects user data from being sent over an insecure connection.
Resolve this issue by updating the attributes of the cookie:
Specify SameSite=None and Secure if the cookie is intended to be set in cross-site contexts. Note that only cookies sent over HTTPS may use the Secure attribute.
Specify SameSite=Strict or SameSite=Lax if the cookie should not be set by cross-site requests.
As a result, the OIDC flow ends in an internal server error 500 and the following message in the debugger log: "error opening session".
Expected Behavior
No internal server error.
version
v1.25.3-2
Relevant log output
"error opening session"
Steps To Reproduce
Just use a recent version of Chrome or Safari.
Anything else?
No response