Required OIDC setup

WorkZone supports authentication and authorization through OpenID Connect (OIDC) identity providers, such as Active Directory Federation Services (AD FS) with focus on WorkZone in an i air-gapped setup.

The instructions on this page assume that you already have an identity provider configured and describe only the WorkZone-specific configurations.

Prerequisite: Knowledge of OAuth 2.0 and OpenID Connect (OIDC).

Before you begin

Before you configure WorkZone, verify that your identity provider supports the required OIDC and OAuth 2.0 functionality.

Important: WorkZone requires an SSL certificate that issued by a publicly trusted Certificate Authority (CA).

OIDC provider requirements

Your identity provider must:

  • Use a certificate issued by publicly trusted Certificate Authority (CA).

  • Support OpenID Connect (OIDC).

  • Support the OAuth 2.0 authorization code flow.

  • Publish a standard OpenID Connect Discovery endpoint (/.well-known/openid-configuration).

  • Support refresh tokens.

  • Issue ID tokens and access tokens.

  • Expose standard signing keys through JSON Web Key Set (JWKS) endpoint.

  • Support HTTPS endpoints throughout the application.

Configure required scopes

WorkZone requires support for the following scopes.

Scope

Purpose

openid

Required for OIDC authentication.

profile

User profile information.

offline_access

Refresh token support.

user_impersonation

Access to WorkZone protected APIs.

The process for creating custom scopes varies by identity provider.

Note: The user_impersonation scope must be available to clients that access the WorkZone APIs.

Configure a user identifier claim

WorkZone requires a claim that identifies each user.

Configure your identity provider to include one of a UPN (User Principal Name) claim in the ID token.

The selected claim must:

  • Uniquely identify users within the organization.

  • Match the user identities synchronized to or configured in WorkZone.

Requirements for the identity provider

WorkZone consists of multiple client applications that authenticate through the same identity provider.

CORS

Browser-based WorkZone applications require Cross-Origin Resource Sharing (CORS) access to the identity provider.

The identity provider must allow requests from the WorkZone URL:

https://<workzone-url>

Depending on your deployment framework, you may need to allow additional WorkZone URLs.

Refresh tokens

WorkZone supports long-running sessions through OAuth Refresh Tokens.

Verify that your identity provider:

  • Issues refresh tokens.

  • Allow the offline_access scope.

  • Permits authorized clients to redeem refresh tokens.

Values required during WorkZone deployment

Note the following values as they will be used during the WorkZone deployment.

WORKZONE-AZURE-AUTHORITY=<your-oidc-url-authorize-endpoint>

The OIDC authorization endpoint of the configured Identity Provider (IdP). WorkZone uses this endpoint to initiate user authentication.

Example:

https://idp.example.com/oauth2/authorize

https://fs.example.com/adfs/oauth2/authorize

WORKZONE-AZURE-ISSUER=<token-issuer-identifier>

The issuer identifier expected in tokens issued by the configured OIDC Identity Provider. This value must match the iss (issuer) claim contained in the issued tokens.

Example:

https://idp.example.com

https://fs.example.com/adfs/services/trust