You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs have a nice example of how to encrypt and sign a JWT. Is there an example anywhere of how to decrypt/parse a JWT that has been encrypted this way?
The text was updated successfully, but these errors were encountered:
Use jwe.Decrypt, and then jwt.Parse. Detecting signed JWTs is baked into jwt.Parse because it's almost ubiquitous, but JWE isn't because 1) it's not as common as signed JWTs, and 2) if jwt.Parse allowed detecting signing and encryption, then it would also have to detect nested signed/encrypted messages, which makes the process much harder.
The docs have a nice example of how to encrypt and sign a JWT. Is there an example anywhere of how to decrypt/parse a JWT that has been encrypted this way?
The text was updated successfully, but these errors were encountered: