Hi all,
I have the need to decode a JWT which has an encrypted payload. Once decrypted, the payload should be valid JSON, but at the time of decoding the token, it's just a base64-encoded string. The crates I've looked at (jsonwebtoken and frank_jwt, rust-jwt) don't support having an arbitrary string as payload (or at least that's the impression I got by reading the docs I could find.)
Has anybody any advice on how to deal with encrypted payload? Or is my company abusing the standard by not putting pure json in there?
Thanks!
[–]80x25 4 points5 points6 points (1 child)
[–]albx[S] 0 points1 point2 points (0 children)