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.
Activity
santiagoaguiar commentedon Jul 28, 2019
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:
Guardian.Android/guardian/src/main/java/com/auth0/android/guardian/sdk/GuardianAPIClient.java
Line 214 in 276c2ff
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!