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

Removed invalidIssuedAt #55

Closed
wants to merge 1 commit into from
Closed

Conversation

realmike33
Copy link

major problem for production severs

major problem for production severs
@kylef
Copy link
Owner

kylef commented Sep 7, 2017

I'd like to go down the route with a leeway instead of completely removing this validation.

#54 (comment)

If the leeway doesn't work for you, you can disable validation and manually call the validate*() functions on the returned claim set that you would like to use, for example:

let claimset = decode(..., validate: false)
claimset.validateIssuer("x")
claimset.validateExpiary()

@kylef kylef closed this Sep 7, 2017
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