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
925 stars 119 forks source link

Wrong key for claims #247

Open Jneville0815 opened 8 months ago

Jneville0815 commented 8 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 8 months ago

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