-
Hi! What are the conditions needed to be able to have working system with state and session cookies set to When I try and set I got the same result in Firefox and Chrome/Edge/Brave running default config. I'm guessing it might be related to redirect tracking protection. BTW I'm on version 2.4.12.3. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
this works for me; the state cookies and the first |
Beta Was this translation helpful? Give feedback.
-
After some more debugging I have confirmed that all browsers does indeed block all It's the browser's cross-site request forgery (CSRF) protection that blocks the cookies. This protection only triggers when the cookies are set to SameSite=Lax and the browser makes a POST request on the redirect from the identity provider to The POST request only happens when Unless there are other settings at play as well, my findings are that For the record, I'm using implicit flow with form post so I also have |
Beta Was this translation helpful? Give feedback.
it is not so much that the primitves are incompatible, it is the same site spec that does not allow this; also, for the record: you should not use the Implicit grant type since it is deprecated and deemed insecure