What this is
The CLI uses browser-based authentication. After sign-in, it stores a rotating local session in your operating system credential store when available. The current stores are:- macOS: macOS Keychain
- Linux: Linux Secret Service when available
- fallback: a private local file with
0600permissions
Sign in
Run:Sign in without opening a browser
Use--no-browser when the terminal cannot open a browser automatically:
Visit URL into a browser and complete the sign-in flow.
Force a new login
Use--force when the wrong account is active:
Check status
Run:- the signed-in user
- the number of accessible workspaces
- where the local session is stored
- the latest setup status when one exists
List workspaces
Run:Workspace permissions
The CLI can only use workspaces your Custory account can access. For journey creation and write actions, use a workspace where you have write permission. Viewer access can be enough for read-only operations, but it is not enough for creating or updating journey structure. If a workspace is missing, confirm that you are signed in with the right account or ask a workspace owner to invite you.Sign out
Run:Session recovery
If a command says the session expired, run:custory login.
Security note
Never paste real credentials, device codes, account IDs, or session identifiers into shared docs, issues, or chat messages. When asking for help, share the command you ran, the error code, and safecustory doctor output. Do not share tokens.