1. Docs
  2. Identities

Identities

End users of your application: Account-level rows that hold credentials and federation hints, granted access into specific Applications and Environments through memberships and role assignments.

Overview

An identity represents a single end user of your application. Each identity belongs to exactly one Account: the same email can exist in multiple Accounts as completely separate identities, and authentication always requires an Account context. An identity carries an email, first and last name, optional metadata, and an optional external_id for federated identities. Identities are the subject of the RBAC system: every permission check resolves whether an identity has a permission at a given node in a given Environment. An identity row can exist before the person ever signs in, for example when an admin pre-provisions accounts for a launch, and stays around after they're deactivated, so the assignment history is preserved.

Scope

Identities have three layers

Unlike permissions and roles, an identity isn't a single per-Environment record. The same identity reaches across your Account through three layers, and each layer answers a different question.

Account level: the identity row itself. The directory of every end user in your Account; the same email in another Account is an unrelated row.Environment access: a membership decides which Environments the identity can sign into. An identity in your Account can have access to one Environment, several, or none, granted per Environment, so access to Development never implies access to Production.Role assignment: within an Environment they can access, a role at a hierarchy node decides what the identity can actually do. An identity with Regional Manager in Development is not assigned that role in Production.

This is why a Promote operation moves the configuration of an Environment (permissions, roles, hierarchy) but leaves identities and their assignments alone: those are operational state you choose per env.

View the Environments reference →

Layers in practice

Each layer is a separate row type with its own home in the Developer Console. The table below maps the concept to the concrete row and the screen where you create or edit it.

Layer Row type Where to manage What it holds
Account Identity Tenant > Identities Email, name, optional external_id, is_active. The directory of every end user in your Account; this row exists independently of any App or Environment.
Environment access Environment membership Identity drawer > Memberships tab A row linking one identity to one Environment. Decides which Environments the identity can sign into. No role attached: what they can do inside an Environment is granted by role assignments.
Environment role Role assignment Access Control > Identities (per Environment) A row linking identity + role + hierarchy node, with optional start/end dates. Decides what the identity can do in that Environment and where in the hierarchy that access applies.

An identity can sit at the Account layer with no environment access and no assignment: that's a directory-only row, useful for pre-provisioning, federated lookup, or staged onboarding. Granting environment access lets the person sign into that Environment; adding role assignments grants them concrete access.

Lifecycle

Each identity row has an is_active column. The Console surfaces it as one of three states:

Pending: derived state, not a column on the row. The identity exists but can't authenticate yet, typically because no password is set, the email isn't verified, an invitation is outstanding, or no federation hint has been linked.Active: is_active = true. The identity is allowed to authenticate and access resources once valid credentials (or a federation hint) exist; role assignments then grant the access listed on each role.Inactive: is_active = false. Active sessions terminate, tokens are invalidated, and assignments stop granting access, but the row and its history stay intact so you can reactivate later.

Deactivation is reversible and audit-preserving, and it's the recommended path. Deletion is supported but hard: the row is removed and assignment history goes with it.

Authentication

Identities authenticate two ways. Hosted login via OAuth2/OIDC (/oauth/authorize) is the standard path: your app redirects, Canopy handles the password ceremony, and you get back a signed JWT. Direct API (/v1/identity/auth/*) is the lower-level surface for apps that want to own the login UI; the same JWT comes back. Password validation, email verification, password reset, and session management run on the platform either way. Your app never stores credentials when you delegate authentication to Canopy. Alternatively, you can handle authentication yourself and use Canopy purely for authorization.

How to add identities

Environment
API version
v1.0
On this page Was this page helpful?

Tell us how we can improve this guide.