ZERO authentication
Sign in from the Tessen CLI with a device code you approve in your browser. You never paste a key.
The CLI asks Tessen for a short code, you approve it in a browser where you are signed in, and the CLI receives a credential bound to your Tessen identity.
- Start the sign-in
The CLI prints a code and opens the approval page.
BASHtessen auth:login - Approve in the browser
Sign in if asked, check that the code on the page matches the one in your terminal, and approve.
- Confirm
Shows who this machine is signed in as.
BASHtessen auth:whoami
The credential
The credential begins tes_, is bound to your identity, and works against https://api.tessen.ai/v1 exactly like a Console key. tessen opencode hands it to OpenCode's credential store; it is never written into a configuration file.
A key created in the Console is the same kind of credential and also reaches ZERO if the account is enrolled. The CLI route is still recommended for OpenCode because it keeps the key out of configuration files.
Sign out
tessen auth:logout