Authentication Realms
An authentication realm is a logical identity environment within Zanthem Identity Services.
A realm contains the identity configuration, registered applications, authentication policies, and user identities associated with that environment.
Realm provisioning and administration are performed by authorized Zanthem personnel.
Realm Structure
A provisioned authentication realm may contain:
- User identities
- Registered application clients
- Authentication policies
- Session policies
- Identity providers
- User attributes
- Organization configurations
- Authentication roles
- Token claim mappings
- Authentication interface configuration
Available capabilities depend on the assigned realm configuration.
Realm Identifier
Each realm is identified by a realm identifier assigned during provisioning.
For example:
example-company
The realm identifier forms part of the authentication service URL.
https://auth.zanthem.cloud/realms/example-company
Use the exact realm identifier supplied by your Zanthem account manager.
Realm identifiers should not be modified, inferred, or constructed from organization display names.
Realm Issuer
The issuer identifies the authentication authority responsible for issuing tokens.
The standard issuer format is:
https://auth.zanthem.cloud/realms/{realm}
Example
https://auth.zanthem.cloud/realms/example-company
Applications must validate that received tokens were issued by their expected authentication issuer.
A token issued by a different realm must not automatically be accepted.
Service Discovery
Each provisioned OpenID Connect realm provides a discovery endpoint.
https://auth.zanthem.cloud/realms/{realm}/.well-known/openid-configuration
Applications should use this endpoint to discover the authentication service configuration.
See Service Discovery for endpoint specifications.
Multiple Applications
A single authentication realm may support multiple registered application clients.
For example:
example-company
├── customer-portal
├── employee-portal
├── mobile-application
└── application-api
Each application client has its own configuration.
This may include:
- Client identifier
- Client authentication method
- Approved redirect URIs
- Approved web origins
- Permitted authentication flows
- Assigned scopes
- Session configuration
Applications within the same realm may share user identities and centralized authentication sessions where configured.
Sharing a realm does not automatically grant applications access to each other's resources.
Realm and Client Boundaries
| Component | Purpose |
|---|---|
| Realm | Defines a logical identity and authentication environment. |
| Application client | Defines an application's authentication integration. |
| User identity | Represents an authenticated individual. |
| Organization | Represents organizational membership where enabled. |
| Application role | Represents an application-specific permission or responsibility. |
A realm provides an identity configuration boundary.
It does not necessarily represent dedicated physical infrastructure or a separate authentication server.
Organizations
Where configured, a realm may contain multiple organizations.
Organizations can support applications that require users to be associated with specific businesses, customers, or organizational environments.
For example:
example-platform
├── Applications
│ ├── web-application
│ └── mobile-application
└── Organizations
├── organization-a
├── organization-b
└── organization-c
A user may be associated with one or more organizations where permitted by the configured identity model.
Organization membership and related claims must be explicitly configured before being used by an application.
:::warning Application tenant isolation
Organization membership does not replace application-level tenant isolation.
Applications must independently validate organization membership, resource ownership, and user permissions before granting access to tenant-specific resources.
Do not rely solely on a hostname, URL parameter, or client-supplied organization identifier.
:::
User Identity Identifiers
Applications should identify users using the combination of their authentication issuer and subject identifier.
{
"issuer": "https://auth.zanthem.cloud/realms/example-company",
"subject": "USER_SUBJECT_IDENTIFIER"
}
A subject identifier represents the user within the context of the issuing identity environment.
Usernames, email addresses, and phone numbers may change.
These attributes should not be used as permanent identity identifiers.
Applications should not assume that subject identifiers remain unchanged across realm migrations or identity re-provisioning.
Development and Production Environments
Applications may require separate authentication configuration for different environments.
Depending on the approved architecture, environments may use separate realms or separate application clients within an assigned realm.
Example Separate Realms
example-company-development
example-company-production
Example Separate Application Clients
example-company
├── example-app-development
└── example-app-production
The appropriate configuration is determined during onboarding.
Development applications must not receive unnecessary access to production identities, credentials, or resources.
Production credentials should not be reused in development environments.
Realm Authentication Policies
Authentication policies determine how users authenticate and maintain sessions.
Policies may include:
- Password requirements
- Authentication methods
- Multi-factor authentication
- Account verification
- User registration requirements
- Session expiration
- Account recovery
- External identity provider integration
- Authentication failure protection
Policy configuration is managed by Zanthem according to the established service requirements.
Applications should not assume that all realms use identical authentication policies.
Identity Federation
Where configured, authentication realms may integrate with external identity providers.
Examples include:
- Enterprise identity providers
- Microsoft Entra ID
- Google Workspace
- External OpenID Connect providers
- External SAML identity providers
Provider compatibility and configuration must be established during onboarding.
Your application may continue integrating with its assigned Zanthem authentication issuer while user authentication is delegated to an approved external provider.
Realm Configuration Changes
Contact your account manager when requesting:
- Additional application clients
- Organization configuration
- User enrollment changes
- Authentication policy changes
- Custom user attributes
- Token claim changes
- Identity provider configuration
- Authentication interface customization
- Session policy changes
Applications must not attempt to modify realm configuration through administrative endpoints.