Verify JWT token outside of NextJS #2986
Unanswered
ethanplee14
asked this question in
Help
Replies: 1 comment 1 reply
-
I think so, yes, check the settings here: you might be better off if on login, your identity provider sends you the access token and you use that, instead of trying to use the one next-auth creates. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
I have a NextJS application which connects the front end to a separate stand alone socketio server so I can avoid creating a custom NextJS server. I am having trouble verifying the JWT token outside of NextJS/NextAuth. I configured nextauth with
and then I try and use the jsonwebtoken module to verify the token with my JWT_SECRET but verification fails. Is there any way to do this?
Beta Was this translation helpful? Give feedback.
All reactions