go-chi / jwtauth

JWT authentication middleware for Go HTTP services
MIT License
541 stars 91 forks source link

jwtauth: token is expired #48

Closed akaDPR closed 3 years ago

akaDPR commented 4 years ago

Eventhough , I set the exp time to 2 hours from now(). the Authenticator method throwing error.

pkieltyka commented 4 years ago

Thats a super weird one, I suspect something with underlying jwt library at jwt-go, perhaps value isn't being set correctly since it's triggering the wrong validation error in this case. Try out github.com/goware/jwtutil as a debug util to generate and test tokens locally

pkieltyka commented 3 years ago

solved in master