Simple example of parsing and validating a token missing
kaihendry opened this issue · 1 comments
kaihendry commented
I'm going in circles looking for a simple example of validating a token https://s.natalian.org/2021-04-14/example.mp4
I think the README's link maybe broken?
d3v1l401 commented
Hey there, check #465 for an example of mine, but be aware that I'm currently having problems verifying the JWT signature with RSA.
Otherwise, the official example using HMAC is this one: https://pkg.go.dev/github.com/dgrijalva/jwt-go?utm_source=godoc#example-Parse-Hmac