aws / aws-toolkit-jetbrains

AWS Toolkit for JetBrains - a plugin for interacting with AWS from JetBrains IDEs
https://plugins.jetbrains.com/plugin/11349-aws-toolkit
Apache License 2.0
744 stars 213 forks source link

CodeWhisperer: On disconnect(4 hours expiry), region isn't saved leading to "invalid grant" #3690

Closed colemvnio closed 1 year ago

colemvnio commented 1 year ago

Describe the bug When being disconnected after 4 hours(annoying), I attempt to reconnect by double clicking on "start", but it redirects me to another region's SSO other than the one I initially configured it for.

To reproduce

  1. Login to CodeWhisperer, with SSO, in another region than "us-east-1"(default one)
  2. Wait 4 hours to be logged out
  3. Attempt to login
  4. Look at the URL, it will be us-east-1 instead of your specified region

Expected behavior To redirect on my proper SSO region initially configured.

Screenshots

Your Environment

rli commented 1 year ago

dupe of #3662