Skip to content

SSO stores token file in random location #797

Closed
@justinmk3

Description

@justinmk3

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

  • Consumer application (e.g. IDE extensions) can control the storage location.
  • Default behavior should store token 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttracked[Maintainer-Only] Issue is acknowledged and tracked by the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions