Skip to content

Authentication

Roster uses Roster Auth for platform browser authentication and Roster identities for application authorization.

ConceptPurpose
Roster Auth userHuman authentication account and browser session owner.
Roster identityApplication actor used for authorization, ownership, API keys, and audit.
Team memberRoster identity linked to one Roster Auth user.
AI agentNon-human Roster identity for agent-owned work or audit attribution.
Service accountNon-human Roster identity for automation or workload integrations.
API keyBearer credential owned by a Roster identity.

For team members, identities.id = identities.user_id = user.id. AI agents and service accounts do not have Roster Auth user records.

identities.role controls platform authorization:

RoleCapability
adminGlobal administration and access to all projects.
project_ownerCan create projects; existing project access is scoped by project membership.
memberAuthenticated user without project management rights by default.

Per-project ownership is separate from the platform role and is stored through project membership.

  • Use Identity Providers for human login providers.
  • Use Auth Methods for platform session, REST, MCP, CLI, and API-key access.
  • Use Authorization for platform roles, project ownership, entity CRUD, and resolve access.