-
Notifications
You must be signed in to change notification settings - Fork 72
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
aws-sso-util login
fails with Login failed: 'expiresAt'
#88
Comments
Well that is weird. Is it something that you can reproduce? It appears that your token didn't have an |
It's something that happens very rarely. Not sure what is causing it, haven't happened since I reported the issue (before then it seemed to happen more frequently). But now it happened again:
It happens consistently now – but will have to make it work now (logout and login). Anything I should try to do next time - insert any print statements or similar? I suppose the details are cached on disk *somewhere*. 🤔 |
Use When it's working correctly, check the files in |
Found out. I'm using Lola (https://www.lola.dev/) and SSO login. There's a conflict where the file created by Lola is attempted used. So steps to reproduce:
|
Huh. Does that cache entry work with the AWS CLI, e.g. |
No, it doesn't seem to like that - after logging in with Lola:
If I do
For reference, |
I will report this to the Lola developers. I would suggest that Thanks for helping troubleshooting! 🙌 |
I think |
That should work as well. It sounds more helpful, which I suppose is the goal of |
When trying to log in, after having been logged in before, I'm getting an error:
It works after running
aws-sso-util logout
, thenaws-sso-util login
again.For reference, I'm running it on Python 3.10 on MacOS 13.1.
The text was updated successfully, but these errors were encountered: