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

NonceStorage: Optional JTI Validation #119

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mikelduke
Copy link
Contributor

Create nonce storage type none to disable JTI replay protection. This is very useful when working with clients like web browsers which can store and reuse a JWT until expiry.

Using type none also allows for JWTs with no JTI claim.

To enable in verifier config set nonce_storage type to none:

nonce_storage:
  type: none

Fixes #103

@keaaa
Copy link

keaaa commented Dec 9, 2019

any plan on merging this?

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

Successfully merging this pull request may close these issues.

jti replay protection should be optional
2 participants