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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix edge cookie support for Next < 13.0.1 #900

Merged
merged 1 commit into from Nov 8, 2022
Merged

Conversation

adamjmcgrath
Copy link
Member

馃搵 Changes

In order to support Next <13.0.1 we need to support the old way Edge cookies were defined (as a Map) an addition to the new way they're defined (with getAll)

馃搸 References

fixes #899
https://github.com/nextauthjs/next-auth/blob/main/packages/next-auth/src/core/lib/cookie.ts#L144-L154
vercel/next.js#41526

@adamjmcgrath adamjmcgrath added the review:small Small review label Nov 8, 2022
@adamjmcgrath adamjmcgrath requested a review from a team as a code owner November 8, 2022 11:43
@vercel
Copy link

vercel bot commented Nov 8, 2022

The latest updates on your projects. Learn more about Vercel for Git 鈫楋笌

1 Ignored Deployment
Name Status Preview Updated
nextjs-auth0 猬滐笍 Ignored (Inspect) Nov 8, 2022 at 11:43AM (UTC)

@adamjmcgrath adamjmcgrath merged commit 0562273 into vNext Nov 8, 2022
@adamjmcgrath adamjmcgrath deleted the next-12-fix branch November 8, 2022 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review:small Small review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants