Auth & join tokens
Tabbify uses different credentials for user access, control operations, and MCP clients. They are deliberately not interchangeable.
Credential types
| Credential | Used for | Boundary |
|---|---|---|
| Browser session | Web console | Authenticated account and tenant access |
Join token (TABBIFY_TOKEN) | Selected REST and tcli operations | One tenant environment; acts as the account that minted it |
| MCP OAuth session or bearer token | Tools returned by MCP discovery | Authorized account, tenant, and published tool operations |
The console session cookie is tabbify_session, or __Host-tabbify_session where the site turns the host prefix on; the console's OpenAPI document (/api/openapi.json) names the one in use. Turning the prefix on signs every browser out once.
Use the shortest-lived and narrowest credential that fits the workflow. Never place an MCP token or a join token in a repository or application image.
Join tokens for CI and the CLI
What CI deploys with is an environment join token: mint one in the console under Workspaces → the environment's settings → Tokens (Mint join token). The value is shown once. The node accepts it as the account that minted it, so guard it like a password. Store it as TABBIFY_TOKEN in the GitHub Actions secret store or your local credential manager:
export TABBIFY_TOKEN="<environment-scoped-token>"
tcli deploy --remote
It never authorizes application-level HTTP operations.
The deployed OpenAPI document at https://api.tabbify.io/openapi.json identifies which REST operations accept the current bearer credential. Do not assume that one token authorizes every console action.
MCP authorization
Interactive MCP clients can use the OAuth flow discovered from https://api.tabbify.io/mcp. Headless clients can use a scoped bearer token. Authentication opens an MCP session; authorization is still evaluated for each discovered tool.
See Connect an MCP client for client configuration. Revoke the credential when an integration is removed.
Revocation and rotation
Revoke join tokens and MCP bearer credentials from the account token view. Join-token lifecycle is separate from application deployment. After rotating a credential, verify the exact client path rather than assuming every cached session has updated immediately.
Local development can run with explicit insecure flags, but those modes are not a production security claim. The managed mesh uses WireGuard encryption and ACL-filtered visibility. Certificate coverage is not uniform across every platform hop, so applications must still authenticate sensitive requests.
For current mesh behaviour, see Private Mesh.