AWS SSO login - provide an option for auto-close tab
- Dominant language
- Python
- Stars
- 17.3k
- Forks
- 4.6k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 13
Description
### Describe the feature
- Python HVAC library shows how an auto-close option could be used to ensure that
the callback is auto-closing if desired.
- could we have the same as an option to the command 'aws sso login --profile X --auto-close-enabled'
### Use Case
After extensively using SSO for several years, we are ending up with multiple tabs in the browser that have been used to authenticate an AWS CLI session in the terminal. Thus we are looking for an option being added to the CLI where a user can inject an auto-close procedure.
https://python-hvac.org/en/stable/usage/auth_methods/jwt-oidc.html#oidc-authorization-url-request
### Proposed Solution
_No response_
### Other Information
_No response_
### Acknowledgements
- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
### CLI version used
aws-cli/2.27.46 Python/3.13.5 Darwin/24.5.0 source/arm64
### Environment details (OS name and version, etc.)
MacOS 15.5
Contributor guide
Assessment
This issue has not been assessed yet.