Skip to main content

Getting Started with Authentication

Zanthem Identity Services provides managed authentication and identity infrastructure for client applications.

Applications integrate with a provisioned authentication realm using supported industry-standard protocols.

Zanthem manages the authentication infrastructure, service configuration, authentication policies, and underlying identity platform.

Your organization remains responsible for integrating its applications with the assigned authentication services.

Managed Identity Services​

Zanthem Identity Services may provide:

  • Centralized user authentication
  • Single sign-on
  • Multi-factor authentication
  • User identity management
  • Application client registration
  • Identity federation
  • Authentication session management
  • Token issuance and validation
  • Customized authentication interfaces

Available capabilities depend on the configuration established during onboarding.

Supported Protocols​

ProtocolPurpose
OpenID Connect (OIDC)User authentication and identity information.
OAuth 2.0Authorized access to protected resources.
SAML 2.0Federated authentication and enterprise single sign-on.

OpenID Connect is recommended for new web applications and modern application integrations.

SAML 2.0 may be appropriate for enterprise applications requiring SAML-based identity federation.

Before You Begin​

Contact your assigned Zanthem account manager to establish your authentication requirements.

Provide the following information:

  • Organization name
  • Application name
  • Application type
  • Application framework
  • Production application URL
  • Development and staging URLs, where applicable
  • Authentication protocol
  • Required authentication methods
  • Required user identity information
  • User registration requirements
  • External identity provider requirements
  • Single sign-on requirements
  • Multi-factor authentication requirements

Zanthem will determine the appropriate authentication configuration based on these requirements.

Integration Configuration​

Once your authentication environment has been provisioned, your account manager will provide the applicable integration configuration.

ConfigurationDescription
Authentication serverBase address of Zanthem Identity Services.
Realm identifierAssigned authentication environment.
Issuer URLIdentity issuer associated with the assigned realm.
Client identifierIdentifier assigned to your application.
Client credentialsConfidential application credentials, where required.
Redirect URIsApproved authentication callback addresses.
Logout redirect URIsApproved destinations following logout.
Web originsApproved browser origins, where required.
ScopesIdentity information and access scopes available to the application.
Authentication protocolApproved integration protocol.

Not all configuration values apply to every application or authentication protocol.

Authentication Server​

The primary authentication service is available at:

https://auth.zanthem.cloud

Applications must use their assigned realm rather than the authentication server's root address.

Example Issuer URL​

https://auth.zanthem.cloud/realms/example-company

The example realm is illustrative.

Always use the actual issuer URL supplied by your account manager.

Integration Process​

The standard authentication integration process consists of:

  1. Establish authentication requirements.
  2. Zanthem provisions the authentication realm.
  3. Zanthem registers the application client.
  4. Receive the application integration configuration.
  5. Configure the application's authentication library.
  6. Implement authentication callback handling.
  7. Implement token and session validation.
  8. Implement application-level authorization.
  9. Test authentication and logout.
  10. Coordinate production validation.

Choosing an Authentication Library​

Applications should use a maintained authentication library compatible with their approved protocol.

The library should support the required security features, including:

  • OpenID Connect discovery
  • Authorization Code flow
  • PKCE
  • State and nonce validation
  • Token signature verification
  • Token expiration handling
  • Authentication error handling
  • Session termination

Applications are not required to use a Zanthem-specific software development kit.

Standard protocol-compatible libraries may be used according to the application requirements.

Example Application Configuration​

An OpenID Connect application may use configuration similar to the following:

AUTH_ISSUER=https://auth.zanthem.cloud/realms/example-company
AUTH_CLIENT_ID=example-app
AUTH_REDIRECT_URI=https://app.example.com/callback
AUTH_LOGOUT_REDIRECT_URI=https://app.example.com/
AUTH_SCOPE=openid profile email

Environment variable names depend on the authentication library and application framework.

Confidential applications may additionally require a client secret or another approved client authentication mechanism.

:::warning Confidential credentials

Client secrets must only be stored in trusted server-side environments.

Never embed confidential credentials in browser-based applications, mobile applications, or publicly distributed application builds.

:::

Authentication and Authorization​

Authentication establishes the identity of a user.

Authorization determines which application resources that user is permitted to access.

Zanthem Identity Services manages authentication according to the assigned service configuration.

Your application remains responsible for enforcing its own authorization requirements, including:

  • Application roles
  • Resource permissions
  • Administrative privileges
  • Tenant boundaries
  • Organization membership
  • Business-specific access policies

A successfully authenticated user must not automatically receive unrestricted access to application resources.

User Account Management​

User registration and account lifecycle requirements must be established during onboarding.

Depending on the configured authentication policies, users may be enrolled through:

  • Coordinated account provisioning
  • Approved registration workflows
  • Application invitation workflows
  • External identity providers
  • Other approved identity integrations

Contact your account manager to establish the appropriate user enrollment and management process.

Infrastructure administration interfaces are not directly accessible to clients.

Authentication Interface​

Users are redirected to the authentication interface associated with their assigned realm.

Authentication interface customization may include:

  • Organization name
  • Organization logo
  • Approved branding
  • Login instructions
  • Configured authentication methods

Customization requirements must be coordinated through your account manager.

Integration Validation​

Before production use, confirm that:

  • The correct authentication realm is configured.
  • The assigned client identifier is configured.
  • Approved redirect URIs are being used.
  • Authentication requests use HTTPS in production.
  • Successful authentication is handled correctly.
  • Authentication failures are handled correctly.
  • Token signatures and claims are validated.
  • Application authorization is enforced.
  • Expired sessions are handled correctly.
  • Logout functions as expected.
  • Confidential credentials are securely stored.
  • Required MFA policies have been tested.

Requesting Configuration Changes​

Contact your account manager for changes involving:

  • Authentication realm configuration
  • Additional application clients
  • Redirect URIs
  • Authentication policies
  • User registration requirements
  • External identity providers
  • Custom claims
  • Session policies
  • Authentication branding
  • Multi-factor authentication

Next Steps​