create-go-app / fiber-go-template

📝 Production-ready backend template with Fiber Go Web Framework for Create Go App CLI.
https://github.com/create-go-app/cli/wiki
Apache License 2.0
960 stars 121 forks source link

Wrong key for claims #247

Open Jneville0815 opened 10 months ago

Jneville0815 commented 10 months ago

Required check list:

Describe the bug:

claims["expires"] needs to be claims["exp"] in order for the jwt_middleware to properly determine if the token has expired

welcome[bot] commented 10 months ago

Thanks for opening your first issue here! 🎉 Be sure to follow the issue template!