How to get the JWT in a NextJS Route Handler #12108
Unanswered
Charismara
asked this question in
Help
Replies: 1 comment 2 replies
-
Sorry, it is no longer available. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I am currently upgrading from Next Auth V4 to V5 and struggle on getting the JWT Token in my Route Handler.
In V4 I've added Access Tokens, Refresh Tokens and other credentials though the JWT Callback to Next Auths JWT Token. Those credentials then got attached to the client browser as http only cookies though a custom route handler.
That system worked well for us and i would love to use it in V5 but haven't found a way to load the JWT information instead of the session in route handlers.
Has someone figured out how to access the JWT?
Beta Was this translation helpful? Give feedback.
All reactions