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

feat(jwt): add skewTime option that replaces NBF_SKEW if present #140

Merged
merged 1 commit into from
Nov 20, 2020

Conversation

javiesses
Copy link
Contributor

This PR adds a new field called skewTime to JWTVerifyOptions. If it is present, it will be used to add/remove from now when performing timestamp validations when validating JWTs.

Closes #136

Copy link
Member

@mirceanis mirceanis left a comment

Choose a reason for hiding this comment

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

Fantastic!
Thank you for your contribution

@mirceanis mirceanis merged commit 8a8cb0f into decentralized-identity:master Nov 20, 2020
uport-automation-bot pushed a commit that referenced this pull request Nov 20, 2020
# [4.7.0](4.6.3...4.7.0) (2020-11-20)

### Features

* **jwt:** add skewTime option that replaces NBF_SKEW if present ([#140](#140)) ([8a8cb0f](8a8cb0f))
@uport-automation-bot
Copy link
Collaborator

🎉 This PR is included in version 4.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

JWT verification: skewed times comparison
3 participants