Closed your-diary closed 2 months ago
It was converted to a discussion because the OP found a similar issue, and there was a sufficient answer.
https://github.com/golang-jwt/jwt/discussions/354
another discussion: https://github.com/golang-jwt/jwt/discussions/122
You're likely looking for this:
https://pkg.go.dev/github.com/golang-jwt/jwt/v5#Parser.ParseUnverified
Proceed with caution.
@mfridman It works like a charm. Thank you!
This is an intentional duplicate of #353. (I don't understand at all why #353 was closed by its author as not planned without any discussion though the author is not owner, member or contributor.)
Contrary to its name,
jwt.Parse()
parses and validates the signature of a JWT:Is it possible to somehow just parse a JWT without taking care of its signature?
My current workaround is giving up using this package and manually split and base64-decode a JWT.