Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix key for claims #293

Merged
merged 2 commits into from
Oct 28, 2024
Merged

Fix key for claims #293

merged 2 commits into from
Oct 28, 2024

Conversation

vsnaichuk
Copy link
Contributor

@vsnaichuk vsnaichuk commented Oct 28, 2024

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. Wrong key for claims #247

Pre-launch Checklist

  • I have read and fully accepted project's code of conduct.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation and/or comments to the code.
  • All existing and new tests are passing successfully.

Copy link

welcome bot commented Oct 28, 2024

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

@koddr koddr merged commit f2fa44c into create-go-app:master Oct 28, 2024
Copy link

welcome bot commented Oct 28, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants