Skip to content
This repository has been archived by the owner on May 21, 2022. It is now read-only.

Simple example of parsing and validating a token missing #464

Open
kaihendry opened this issue Apr 14, 2021 · 1 comment
Open

Simple example of parsing and validating a token missing #464

kaihendry opened this issue Apr 14, 2021 · 1 comment

Comments

@kaihendry
Copy link

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
Copy link

d3v1l401 commented Apr 16, 2021

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants