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

Allowing/Rejecting always fails #89

Open
jcyu0208 opened this issue Jul 28, 2019 · 1 comment
Open

Allowing/Rejecting always fails #89

jcyu0208 opened this issue Jul 28, 2019 · 1 comment

Comments

@jcyu0208
Copy link

As the title suggests allowing or rejecting a notification always fails with the following error:

GuardianException{{statusCode=401.0, error=Unauthorized, message=An error ocurred validating the challenge response token: jwt expired, errorCode=invalid_challenge}}

Not sure how to resolve this since the challenge is coming from the notification that I received.

@santiagoaguiar
Copy link

The error is returned by Auth0 when the token sent by the device has expired. This token gets expiration is set 30 seconds from the current time here:

Could you check if the device clock is out of sync for more than 30 seconds? That could make the the verification fail in that case.

Thanks!

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

No branches or pull requests

2 participants