Decryption Error in jwtDecrypt #807
Unanswered
harrisluvloop
asked this question in
Q&A
Replies: 1 comment
-
|
The only thing at play here is the secret not potentially being the same or the encryption not being done right. I can't imagine being able to provide more insight. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
I'm using Next.js and Next-Auth in my frontend. I've created a token and sent it to the backend which is written in node.js.
In the backend I've used JOSE to decrypt the JWT token.
But, it throws Error "decryption operation failed"
This is the token that i've created in the frontend
The code snippet i've used to decrypt the token
The error thrown was
Kindly help me to fix this error
Beta Was this translation helpful? Give feedback.
All reactions