Sign-in and access

How the CLI signs in, what each login can do, and where its tokens are kept.

tringify login signs in with OAuth and PKCE through a one-time listener on 127.0.0.1, so your password never passes through the CLI. tringify login --store signs in to a store; tringify theme push, tringify theme dev and tringify theme pull start it for you when needed.

The approval screen#

On the approval screen you choose the developer organization, or the store, and see exactly what the CLI asks for. Tringify's own tools, including the Tringify CLI, show “Verified by Tringify”; other tools show “This name was provided by the tool. Tringify hasn't verified it.” Check the domain as well as the name: it comes from the tool's client metadata address or its registered return addresses, and local loopback addresses appear as “This computer”. Only continue if you recognize the tool and the access it asks for. The CLI's client ID is https://api.tringify.com/oauth/connectors/clients/tringify-cli.

What each login can do#

Login

Access

Developer organization

Theme listings (list, upload, publish, install into development stores), development stores (list, create), apps (list, create, check and replace the configuration, release, publish, send private updates, create install links), app credentials (new client secret, new webhook signing key) and checking whether an app can be retired or deleted. Each part is granted only if your own role has it; see Organization team permissions.

Store

Storefronts and themes: list them, add a theme as unpublished, upload into a theme and download a theme. Only with tringify theme dev --with-demo: products and files, to add the demo products and images.

Trusted publishing (GitHub Actions)

No login: a short-lived publishing token for one theme listing or one app, never more than the member who added the trusted publisher holds now. See Publish from GitHub Actions.

The CLI never has more access than your own role and follows changes to it. It cannot make a theme live, delete stores, create paid listings or change pricing, and it retires or deletes an app only after you confirm in the Developer Portal with your email code or passkey. If you signed in before a kind of access was added, run tringify login again.

Where tokens are kept#

Tokens from tringify login are stored only in your system keychain: the macOS Keychain, Windows Credential Manager, or the Secret Service on Linux (GNOME Keyring or KWallet). Without one, sign-in stops and says so; if the keychain doesn't answer, the CLI says it is waiting and stops after two minutes instead of hanging. Access tokens last 15 minutes and are refreshed automatically; refresh tokens change on every use. Which organization or store each login belongs to (never the tokens) is kept in ~/.config/tringify or your system's equivalent; set TRINGIFY_CONFIG_DIR to use another folder.

Uploads, publishes, installs and new development stores appear in your organization's activity log as Connected tool: Tringify CLI, and changes made with trusted publishing as Trusted publisher github.com/OWNER/REPO (WORKFLOW).

Sign out#

tringify logout signs out of the developer organization and revokes the CLI's access; --store ID signs out of one store and --all signs out everywhere. You can also see and disconnect the CLI in your Tringify account under Connected tools.

Over SSH, in CI and with AI agents#

  • Over SSH: set TRINGIFY_NO_BROWSER=1 and open the printed sign-in address on a machine that can reach the CLI's 127.0.0.1 listener, for example through port forwarding.

  • In CI: sign-in needs a browser and a keychain, so it is for your own computer. Publish from GitHub Actions with trusted publishing instead: no login, keychain, token or secret.

  • AI agents: the same operations are available through MCP; see Connect an AI assistant.