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
730 stars 197 forks source link

Amazon Q Plugin on WebStorm is asking to reauthenticate again and again #4615

Open MavGitt opened 6 days ago

MavGitt commented 6 days ago

Describe the bug Amazon Q Plugin on WebStorm is stuck and asking to reauthenticate for any request. Even if I was able to authenticate via the SSO from the browser successfully, Q is throwing an error saying "Your Amazon Q session has timed out. Re-authenticate to continue."

Expected behavior

After the successful SSO authentication, I should be able to use the Q.

Screenshots image

image

Your Environment

Additional context I even tried uninstalling the plugin and reinstalling the plugin over the IDE, however, I see the same error in a loop mode.

manodnyab commented 6 days ago

Hi, can you try signing out of Q, deleting the contents of .aws/sso/cache and sign in again?

juanito-caylent commented 5 days ago

I'm having a similar issue but using Jetbrains Gateway pointing to WSL. I can't move past the login/authentication.

I can successfully authenticate via the SSO from the browser, and the plugin does receive the confirmation because its progress bar is removed right after, but then nothing else happens and the dialog stays open.

If I try again, it simply shows nothing, as if it were unresponsive.

If I remove the SSO cache, I can see the authentication web page once more, but retrying yields the same results.

MavGitt commented 5 days ago

@manodnyab , Tried clearing the cache.. however still hard luck with same issue