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

Fix key for claims #293

Closed vsnaichuk closed 1 month ago

vsnaichuk commented 1 month ago

What this PR is changing or adding?

Corrects the JWT expiration key in claims from expires to exp, aligning it with standard JWT claim specifications. See the GetExpirationTime function in jwt/map_claims.go

Before/after or any other screenshots

Which issues are fixed by this PR?

  1. 247

Pre-launch Checklist

welcome[bot] commented 1 month ago

Thanks for opening this pull request! 🎉 Please check out our contributing guidelines.

welcome[bot] commented 1 month ago

Congrats on merging your first pull request! 🎉 We here at Create Go App are proud of you!