Sign in to CompozyOS
Sign in from the CLI, check the installation's account, and manage trusted devices.
4 min read6 pages in Computers
Sign in from the CLI
Official release builds require an account to use CompozyOS. Run compozy account login on the computer you want to sign in to. Use --provider google or --provider github to choose a provider. On a headless computer, use --no-browser and open the printed URL elsewhere. Compare the code and computer details on the page with your sign-in before continuing.
The first sign-in needs an internet connection. For a network that uses a proxy, set HTTPS_PROXY, HTTP_PROXY and NO_PROXY on the daemon's launcher. The cloud client, its WebSocket, and the hosted connector use those settings.
The sign-in code expires in 15 minutes. Press Ctrl-C to cancel the attempt. If you lose the last trusted admin device, choose Recover admin access on the Google activation page and authenticate again.
Run compozy account status to see your plan, remote computer usage, and this computer's device. Use compozy account status --json for scripts. The device key and refresh credential are scoped to your account and CompozyOS home in the system keyring. Linux installations without an available desktop keyring use encrypted storage under that home.
Manage your account
compozy account logoutrevokes this session. Usecompozy account logout --unlinkon an installation linked for remote access. Existing turns and task leases can finish.compozy account email --news on|offupdates product email consent. You can also pass--newsor--no-newswithaccount login.compozy account deleteshows the account, computer and billing impact and prompts for the account email. Use--confirm-email <email>when there is no terminal. Deletion leaves the data on your computers in place.compozy account upgradeopens monthly Pro checkout. Usecompozy account upgrade --annualfor annual billing. You can also buy Pro from a browser before installing CompozyOS.- A temporary cloud outage leaves an existing sign-in intact. Local sessions remain available and account operations resume when the cloud is reachable.
Sign in on CI
Run compozy account token create --name ci from a device signed in to your account. Put the one-time value in your CI secret store and provide it to the daemon launcher as COMPOZY_ACCOUNT_TOKEN. The token unlocks local work. Use a Google or GitHub sign-in for remote computers, approvals, and billing. List tokens with compozy account token list and revoke one with compozy account token revoke <id>.
Upgrade an existing installation
After updating to 0.8.0, sign in before starting new work. Recurring jobs skip scheduled occurrences while signed out. One-shot jobs wait and run once when work can resume. Webhook senders receive a retryable 503.
During a sign-in incident, Compozy Cloud can grant temporary local access. An existing 0.7.x home that cannot reach Compozy Cloud on first contact can also work for seven days from that attempt. The CLI prints the end time on stderr. Account features such as Computers and billing still require sign-in during that window.
See the account security guide for sign-in notices, product news, and deletion. Account security and privacy
Use the local API
The same account routes are available over the daemon's local HTTP and Unix socket transports.
| Route | Purpose |
|---|---|
GET /api/account | Read the installation's account and device status. |
PATCH /api/account | Set marketing_opt_in and read the updated account. |
DELETE /api/account | Confirm with confirm_email, start deletion, and sign out this installation. |
POST /api/account/sign-in-notices/dismiss | Dismiss notices on this installation. |
POST /api/account/login | Start a browser sign-in and receive its attempt ID, activation URL, code, and expiry. |
DELETE /api/account/login | Cancel a sign-in attempt. Pass its attempt_id to cancel a specific attempt. |
GET /api/account/sign-in/events | Read sign_in.progress and account.state without an account session. |
POST /api/account/logout | Sign out of the installation. |
GET /api/account/devices | List account devices and identify this computer. |
PATCH /api/account/devices/{id} | Update a device's name, admin trust, or computer scopes. |
DELETE /api/account/devices/{id} | Revoke a device. |
GET /api/account/approvals and GET /api/account/approvals/{id} | Read device approvals and recent results. |
POST /api/account/approvals/{id}/decision | Submit an approval decision from a trusted admin device. |
GET /api/account/stream | Follow account changes, including approval results. |
GET /api/account/tokens | List local-use account tokens and their last use. |
POST /api/account/tokens | Create a named token and return its value once. |
DELETE /api/account/tokens/{id} | Revoke a token. |
POST /api/account/checkout and POST /api/account/billing-portal | Open hosted checkout or the billing portal. |
POST /api/account/login accepts marketing_opt_in: true to opt in after enrollment. GET /api/account includes recent_sign_ins for the last seven days. Use GET /api/account?refresh=true to read current billing details before confirming deletion. Deletion requires an admin device and returns 202 with state, subscription_cancelled, and refund.
Subscribe to the sign-in events before starting a login to receive progress for its attempt ID. Start a new account stream after signing in. The signed-in stream accepts Last-Event-ID or after_sequence from the same sign-in. On stream_reset, read the current account and approvals again. A 202 approval decision confirms delivery was accepted. Wait for the applied result or read the approval to confirm the outcome.
Send {"interval":"year"} or {"interval":"month"} to checkout. Open the returned url in the operator's browser. Checkout completion and renewal changes emit account.changed with plan and payment_issue. A controller can follow this stream with remote access turned off.
Development builds can use COMPOZY_CLOUD_URL to select a cloud origin. Builds that require sign-in use https://cloud.compozy.com.