aws / aws/aws-toolkit-jetbrains
Plugin does not detect valid SSO sessions manually established
- Dominant language
- Kotlin
- Stars
- 862
- Forks
- 298
- Avg merge
- 14d 12h
- Merged PRs (30d)
- 1
Description
I can't use the reconnect command within the AWS Toolkit plugin to establish my SSO session. I have to do it manually. The plugin seem to refuse to detect that I have a valid SSO session.
### Steps to reproduce the issue
1. Start with a known good SSO configuration, but with expired IAM credentials.
2. Open IntelliJ with the AWS plugin installed.
3. In the AWS Toolkit, select the SSO profile with the expired IAM credentials. The warning icon appears and the explorer says 'Profile:abc' requires you to re-login with AWS IAM Identity Centre.
4. In the IntelliJ terminal `export AWS_PROFILE=abc; aws sso login --no-browser`.
5. Complete SSO login.
6. Confirm you have valid SSO credentials via something like `aws s3 ls`.
7. In the AWS Toolkit, refresh the AWS connection. The warning icon does NOT disappear.
8. Change to another profile and then change back to the SSO profile. The warning icon does NOT disappear.
9. Restart IntelliJ.
10. Select the SSO profile. The warning icon still appears with the same text in the AWS IAM Identity Centre.
---
Toolkit: AWS Toolkit For JetBrains 3.14-241
OS: Mac OS X 14.5
IDE: IntelliJ IDEA Ultimate Edition 241
Contributor guide
Research direction
No source files or tests are named in the report. Start by reproducing the flow with the AWS Toolkit reconnect and AWS connection refresh after running `aws sso login --no-browser` in the IntelliJ terminal. Trace how the plugin checks the selected SSO profile; done means a manually established valid session clears the warning without switching profiles or restarting IntelliJ.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws
- Domain
- authentication, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100