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
748 stars 214 forks source link

Can't Re-Login #3748

Open SergioDelRioT4Bi opened 1 year ago

SergioDelRioT4Bi commented 1 year ago

I simply cannot find a way to force it to login again after my credentials expire after 12 hours. This makes it very hard to test a running application to see if it can renew the connection. There is simply no button anywhere that I can find to do this. And, to make matters worse, it looks like you are still connected, but you are not. Would be great if this could be fixed.

Toolkit: AWS Toolkit For JetBrains 1.70-231 OS: Windows 10.0 IDE: IntelliJ IDEA Ultimate Edition 231

gwilson185 commented 1 year ago

I am having the same issue.

Toolkit: 1.68-231 OS: MacOS 13.4.1 IDE: PyCharm 2023.1.2 (Professional Edition) Build #PY-231.9011.38, built on May 16, 2023 Runtime version: 17.0.6+10-b829.9 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.

rli commented 1 year ago

Are both of you referring to the experience in the "Explorer" panel or when using credentials while running a run configuration?

imaitland commented 1 year ago

Same, unable to reconnect

bronzpark commented 11 months ago

I found the same for saml authentication - once expired, I successfully reauthenticate from a terminal window using CLI. Unfortunately the AWS Toolkit does not detect the new session token and continues to show the red 403 error message. The only workaround I found was to uninstall the aws toolkit, restart the ide and then install the toolkit plugin. Once the reinstall is complete the plugin can immediately detect the session token and works fine. This is on a windows laptop.

zak-flex commented 1 day ago

Same issue. Once credentials have expired, there doesn't seem to be a way to re-trigger the authenticate via browser flow. Sometimes switching between profiles works, other times an IDE restart is effective.