Why i am getting this error? - JWTMalformed: JWTs must have three components. #970
Unanswered
anerror404
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Your question
I am getting JWTMalformed: JWTs must have three components and JWSVerificationFailed: signature verification failed error after i started credentials login. From credential authorise function i am returning user object consisting name, email and image. My nextauth config:
session: { jwt: true, }, jwt: { signingKey: '{"kty":"oct","kid":"","alg":"HS512","k":""}', encryptionKey: '{"kty":"oct","kid":"","alg":"A256GCM","k":""}', secret: "some secret", },
what i am doing wrong? How to fix this issue?
Feedback
Documentation refers to searching through online documentation, code comments and issue history. The example project refers to next-auth-example.
Beta Was this translation helpful? Give feedback.
All reactions