-
I use the blew code to generate the key and copy the content to a json file.
the key.json format look like this
Using the keyset to create the JWT
then I try to parse the JWT payload
the result is an error
If I remove the and use to parse the payload the error will change to I look the document several times, still could not figure out why this error cause. Did I do anything wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Ok, I have figured it out by myself. For someone not familiar with JWK and JWT, I'll describe my steps more clearly.
the key point is you need to save the private key and the public key into two JSON files.
|
Beta Was this translation helpful? Give feedback.
Ok, I have figured it out by myself.
For someone not familiar with JWK and JWT, I'll describe my steps more clearly.