You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce a config layer that lets the CLI target multiple Seamless Auth instances (self-hosted, managed tenant, local dev) under named profiles. This is the foundation the rest of the auth work builds on.
Tasks
Define config at ~/.config/seamless/config.json, respecting XDG_CONFIG_HOME.
Profile shape: { name, instanceUrl, sub, email, identifierType }. No secrets in this file (tokens live in the keychain, see the token storage issue).
Active-profile selection via a --profile <name> flag and a SEAMLESS_PROFILE env var, defaulting to a default profile.
Summary
Introduce a config layer that lets the CLI target multiple Seamless Auth instances (self-hosted, managed tenant, local dev) under named profiles. This is the foundation the rest of the auth work builds on.
Tasks
~/.config/seamless/config.json, respectingXDG_CONFIG_HOME.{ name, instanceUrl, sub, email, identifierType }. No secrets in this file (tokens live in the keychain, see the token storage issue).--profile <name>flag and aSEAMLESS_PROFILEenv var, defaulting to adefaultprofile.seamless profile list,seamless profile use <name>,seamless profile remove <name>.instanceUrl(require https outside localhost, strip trailing slash).Acceptance criteria
Part of #38