Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set SameSite cookie attribute to Lax for CV and NONCE #47

Merged
merged 1 commit into from
Oct 3, 2023
Merged

Conversation

SiCoe
Copy link

@SiCoe SiCoe commented Oct 3, 2023

This change re-enables the ability to have authentication that isn't embedded into the same site.
e.g. changing host to Okta to log in, then back to site once authenticated.

The feature was removed in security bump to version 4, but is required by one of our uses of this module.

Note: this PR also sets the SameSite and Secure cookie attributes when removing (expiring) the cookies to the same values as when it was set to conform with browser implementations from the Incrementally Better Cookies that's now required for all values: Strict, Lax and None.

This enables authentication that isn't embeded into the same site.
e.g. changing host to Okta to log in, then back to site once authenticated.
@SiCoe SiCoe merged commit f051484 into master Oct 3, 2023
3 checks passed
@SiCoe SiCoe deleted the SameSite-lax branch October 3, 2023 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants