Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSO stores token file in random location #797

Open
justinmk3 opened this issue Feb 21, 2025 · 0 comments
Open

SSO stores token file in random location #797

justinmk3 opened this issue Feb 21, 2025 · 0 comments
Labels
enhancement New feature or request tracked [Maintainer-Only] Issue is acknowledged and tracked by the team

Comments

@justinmk3
Copy link
Contributor

Problem

SSO auth implementation stores the cache token to whatever directory it happens to be installed to:

const TOKEN_CACHE_DIR = path.join(__dirname, '.cache')

Expected behavior

  • Token should be stored in the (quasi) standard ~/.aws/sso/... location.
  • Ideally, it should also try to re-use token already found in that location which may have been set by other tools.
@justinmk3 justinmk3 added the bug Something isn't working label Feb 21, 2025
@volodkevych volodkevych added enhancement New feature or request tracked [Maintainer-Only] Issue is acknowledged and tracked by the team and removed bug Something isn't working labels Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tracked [Maintainer-Only] Issue is acknowledged and tracked by the team
Projects
None yet
Development

No branches or pull requests

2 participants