Broken getToken function in v4 #10569
Unanswered
camachomarco
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working with
next-auth
v4 and have a question about cookie management. ThegetToken
function appears to expect cookies with specific names likenext-auth.{type of cookie}
. Here's the relevant part of the code:Given this setup, does renaming the cookies impact the functionality of getToken? What adjustments are necessary to ensure getToken works with custom cookie names?
Beta Was this translation helpful? Give feedback.
All reactions