Skip to content

Is there a good way to just examine a token without caring about the signature? #122

Answered by oxisto
bclouser asked this question in Q&A
Discussion options

You must be logged in to vote

The ParseUnverified function still exists https://pkg.go.dev/github.com/golang-jwt/jwt/v4#Parser.ParseUnverified. Not sure what makes you think otherwise.

Be aware though you should REALLY really really only use this if you know what you are doing, i.e. verified this token beforehand.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bclouser
Comment options

Answer selected by oxisto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants