Replies: 1 comment 3 replies
-
Unlikely, I will be removing the strategy from openid-client with the next major and extracting it to a package of its own. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The Strategy saves state between authorization and callback in session. This limits the use of SameSite on session cookie. User does not get back to the same session if it uses
SameSite=Lax
withresponse_mode=form_post
or usingSameSite=Strict
for session cookie.I looked at the
Strategy.authenticate
and it seems it is easy to restructure it such that the state storage implementation can be given as an option for the Strategy constructor. Much as the express-session allows implementing session stores to different needs.I already did some prototyping. Any possibility of such a feature being included in openid-client?
Beta Was this translation helpful? Give feedback.
All reactions