Skip to Content
Potik Docs
Runbooks

Manage application users and roles

The application administrator directory lists users who have authenticated with the configured issuer and have a local application user ID. The ZITADEL subject in each row is the corresponding ZITADEL user ID. The directory uses the application's administrator access check. A newly assigned ZITADEL user appears in the directory after their first authenticated application request that resolves a local identity.

Role grants are an operator workflow. Open the ZITADEL Console separately, select the organization that owns the configured API project, and open Authorizations. Match the ZITADEL user ID to the subject from the application before creating or editing an authorization. Edit the application's role keys and retain any other role assignments required by the user. ZITADEL enforces Console permissions separately from the application's administrator role. Grant Console operators project-scoped permissions for the owned project, including project.read, user.grant.read, and user.grant.write, as needed. Keep Console administration independent of application role assignments so authorized operators can recover access if the last application administrator is demoted.

The web login service credential is used for end-user identity operations. Role assignments use the operator’s separate project-scoped permissions. ZITADEL's Authorization Service v2 UpdateAuthorization replaces the complete role-key set and has no expected-version field. Delegating the operations to ZITADEL avoids an application read-modify-write flow that could overwrite concurrent grant changes. Operators who manage authorizations for a project granted to their organization use the appropriate granted-project view in ZITADEL Console.

After changing a role, obtain a new access token to see the updated claims. An existing access token keeps its signed claims until it expires.

ZITADEL Authorization Service v2

Set the API environment variable OIDC_ADMIN_ORG_ID to the trusted organization ID. Configure the admin role in the API project. An identically named role from another project or organization grants no administrative access.