Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

Error classes and exception on validation #915

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

Conversation

spike008t
Copy link

Hello!

Here a little improvment in order to catch unvalidated jwt token and detect the error and apply some strategy depending of the error type.

My main issue covered by this PR is to detect if iat/nbf in futur when the clock skew is over 5min that allow us to notify the client to sync his clock, because actually, we just retreive "JWT validation failed".

@brockallen brockallen added this to the 2.0.0 milestone Jul 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants