-
It seems that the So how to parse a given JWT in compact base64 form and get the header fields? Espacially the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@schuerg I'm going to take a wild guess, but I think you are confusing JWT and JWS. JWT may arrive to you in signed format, but at that point it's a JWS message. Header fields like |
Beta Was this translation helpful? Give feedback.
@schuerg I'm going to take a wild guess, but I think you are confusing JWT and JWS. JWT may arrive to you in signed format, but at that point it's a JWS message. Header fields like
alg
andkid
only exist in the JWS message. So if you want to manually do something with the JWS headers, you should be looking atjws.Parse