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. |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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=Laxwithresponse_mode=form_postor usingSameSite=Strictfor session cookie.I looked at the
Strategy.authenticateand 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?
All reactions