Skip to content

🔧 fix: Use default exp and nbf if missing in jwt.sign payload #102

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kimzuni
Copy link

@kimzuni kimzuni commented Jun 27, 2025

Fixes an issue where jwt.sign did not apply default exp or nbf if they were missing in the payload.

Fixes #101

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be set even if there is no exp.

@kimzuni
Copy link
Author

kimzuni commented Jun 30, 2025

Sorry about this! I thought I only made one change after opening the PR, but due to my mistake, the workflow was triggered 4 times :(

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.

Config exp not encoded in payload
1 participant