Closed shachardevops closed 3 years ago
Solved - you need to update the example .
replace Method: gojwt.SigningMethodHS256,
with Algorithm: jwt.HS256,
You did a really good job here! Awesome project.
@shachardevops thx, I would love to see a PR.
What version of Go are you using (
go version
)?1.13
Does this issue reproduce with the latest release?
yes
What version of Go-Guardian are you using?
latest
What did you do?
https://play.golang.org/p/NlbR34g1GRM I just ran the jwt example
What did you expect to see?
I expect to get a token in the response
What did you see instead?
Token is empty