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

Fix for edge cookies delete not supporting domain or path #1341

Merged
merged 1 commit into from
Aug 3, 2023

Conversation

adamjmcgrath
Copy link
Contributor

📋 Changes

NextRespons.cookies.delete currently doesn't support the path or domain options. Workaround this by using NextRespons.cookies.set (which does)

📎 References

See vercel/edge-runtime#507
fixes #1337

@adamjmcgrath adamjmcgrath requested a review from a team as a code owner August 3, 2023 10:30
@vercel
Copy link

vercel bot commented Aug 3, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
nextjs-auth0 ⬜️ Ignored (Inspect) Aug 3, 2023 10:30am

@adamjmcgrath adamjmcgrath merged commit 9038177 into main Aug 3, 2023
@adamjmcgrath adamjmcgrath deleted the del-cookie-domain-path branch August 3, 2023 12:03
@adamjmcgrath adamjmcgrath mentioned this pull request Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CallbackHandlerError after Organization Invite
2 participants