-
-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request from GHSA-g8x5-p9qc-cf95
* feat: pass request into checkStateFunction * feat: add state in cookies * fix: check presence * fix: check cookie only * fix: change defaultGenerateStateFunction * Update index.js Co-authored-by: Filip Skokan <[email protected]> * fix: unsign * fix: assume stateCookie is always present * renamed state * fix: use session --------- Co-authored-by: Filip Skokan <[email protected]>
- Loading branch information
1 parent
85c1057
commit bff756b
Showing
4 changed files
with
81 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nice updgrade, thank you !
But it seems this change prevent calling generateStateFunction when using a custom start redirect handler :/