Keats / jsonwebtoken

JWT lib in rust
MIT License
1.62k stars 252 forks source link

decode_header failing for google identity JWTs #310

Closed bendevski closed 1 year ago

bendevski commented 1 year ago

The JWT I'm getting is from google, it's valid on jwt.io, but both decode and decode_header fail with: Error(Base64(InvalidByte(0, 34))).

bendevski commented 1 year ago

I parsed the string wrong and it included the quotation marks, please ignore.