-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Can't do az login
: RuntimeError: 0. The ID token is not yet valid.
#20388
Comments
This is the parent issue of 'The ID token is not yet valid' |
Could you check #20158 (comment)? |
az login
🤷🏻♂️az login
: The ID token is not yet valid
Symptom
Root causeThis issue is because the time on the computer is not correct. MSAL checks SolutionPlease make sure your computer's time is configured correctly. MSAL is refining the error message in AzureAD/microsoft-authentication-library-for-python#449. |
az login
: The ID token is not yet validaz login
: RuntimeError: 0. The ID token is not yet valid.
Just as an FYI for anyone else who hits this on WSL There is an open WSL bug (microsoft/WSL#8204) where WSL2 date is set incorrectly after waking from sleep which seems to be causing this alot at the moment. |
This worked this morning. Now the error appears even after running |
This worked perfectly! Thank you :) |
This is the solving workaround microsoft/WSL#8204 (comment) |
This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az login
Errors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az login
Expected Behavior
Environment Summary
Additional Context
The text was updated successfully, but these errors were encountered: