-
Notifications
You must be signed in to change notification settings - Fork 338
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
CodeWhisperer with IdC (IAM Identity Center / SSO) never stays signed in for more than a few hours at a time #4361
Comments
The session timeout for AWS IAM Identity Center (IdC, CodeWhisperer "Professional tier") is controlled by the IdC administrator in the AWS console. IdC now supports now supports a session maximum of 90 days (configurable by the IdC administrator). But the default timeout is still 8 hours:
This must be configured in AWS IdC, it's not controlled by AWS Toolkit nor the "This is a trusted device" checkbox. |
SOLVEDOur administrator has confirmed the AIM session timeout was set to 4 hours for "testing". |
Problem
Similar to issues described in #3614, however AM Identity Center, and every few hours.
AWS: IAM Identity centre authentication disconnects form the AWS Toolkit for VSCode after a few hours.
I'm using CodeWhisperer primarily, but every few hours (between 4 and 6 normally) I get disconnected and have to re-authenticate.
Plugin sidebar info:
In the footer of VSCode:
So, I re-authenticate.
It's important to note, checking the
This is a trusted device
checkbox seems to do nothing.If I have to re-authenticate even after a few hours, it asks for my username and password again. My sign-in to
ap-southeast-2.signin.aws/platform/login
never persists.Then, I allow:
Then after a few hours, it disconnects again, and I have to re-authenticate.
Each time I lose connection in VSCode, my browser session has also expired, and I have to re-enter my credentials from scratch.
("This is a trusted device" I presumed kept me logged in for 7 days as per )
Expected behavior
IAM stays logged in for up to 7 days
System details (run the
AWS: About Toolkit
command)The text was updated successfully, but these errors were encountered: