-
Notifications
You must be signed in to change notification settings - Fork 440
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
Invalid ID Token error when device time is manually set to wrong time #721
Comments
👋 Hey @robinvandenb - I agree that highly descriptive error messages would've made this easier to debug, but the thing is we're subject to the error message returned by the native libraries we use - AppAuth Android and AppAuth iOS. I'll definitely try to repro this to see if there's more info included in the error that would allow us to spell out exactly why the id token is invalid - I'm doubtful that there is. On the bright side though this is definitely something that would only affect a very small fraction of users who choose to manually set the time incorrectly on their device 🤷♂️. |
This happed to me in android simulator, i dont know why time was wrong, not a major thing but weird and need fix. |
Is there a way to get the server time instead of the device time to get the time? |
Thanks for filing this issue and saving future people some time. My emulator was 5 minutes behind which caused this. |
My tests show that you get the No info on AppAuth-iOS |
I believe it's a feature, not a bug - like OP suggested, a clearer error message could certainly help. |
Issue.
We noticed we encountered a few
Invalid ID Token
errors. After some research and trial and error we noticed it was caused because the device time was manually set to the wrong time.Clearer error messages would have taken less time to debug the issue.
Environment
CDC
Android
The text was updated successfully, but these errors were encountered: