Delete __Secure-next-auth.callback-url cookie #8651
jordibaliellas
started this conversation in
Ideas
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
What is the improvement or update you wish to see?
I found on next-auth a way to rename it and change the options of it. But there is no way of deleting this cookie.
On my app the user will be redirect it always to the same page after sign in, so there is no need of keeping this cookie right?
How can I delete it?
Thank you!
Is there any context that might help us understand?
We are using always a callback param when calling the signin function:
signIn('...', { callbackUrl: '/home' })
.Is there another reason about why we need to keep this cookie?
thanks!
Does the docs page already exist? Please link to it.
https://next-auth.js.org/configuration/options#cookies
Beta Was this translation helpful? Give feedback.
All reactions