Configuring Azure Active Directory as an OIDC Identity Provider
This topic describes how to integrate Azure Active Directory (Azure AD) as an identity provider for a Pivotal Single Sign‑On plan, by configuring OpenID Connect (OIDC) in both Single Sign‑On and Azure AD.
Azure Active Directory (Azure AD) is Microsoft’s multi-tenant cloud-based directory and identity management service. It is one of several identity providers you can use in a Single Sign‑On service plan.
To set up the integration, follow the procedures below:
Before you can set up a relying party in Azure AD, you must meet the prerequisites listed in Azure Active Directory OIDC Integration Guide Overview.
Follow the steps below to set up a relying party in Azure AD.
Log in to your Azure account and navigate to Azure Active Directory > App registrations.
Select + to create a New application registration. A configuration pane appears.
Under Application type, select Web App/API and enter any Name and any Sign-on URI. You can optionally enter the full Auth Domain URL generated based on the Auth Domain setting you used when you created the service plan that you are integrating with Azure AD.
Use the search bar to find your app registration, and click on its listing in the search results.
Open the Keys tab to generate your Client Secret.
Enter any name for the description of the key and select the appropriate duration for your security requirements.
Under Reply URLs, configure and save the URI of the form
AUTH-DOMAINis the Auth Domain setting you entered when you created the service plan that you are integrating with Azure AD.
ORIGIN-KEYis based on the Identity Provider Name you set in the SSO Operator Dashboard in Set Up OIDC Identity Provider in SSO as shown below. Do not use spaces or uppercase letters in this value. You might need to change this later.
Identify your Azure Tenant Name. One location you can use to help you identify this is the App ID URI which uses the form
For example, in the App ID URI
https://tenant.onmicrosoft.com/cj8472j2-d3d2-44b1-a2zf-ro5cd03f9584, the Azure Tenant Name is
Construct the URL for the OpenID Connect metadata endpoint by replacing
TENANT-NAMEwith your Azure Tenant Name in the following string:
Record these values for the next step, configuring your OpenID Connect identity provider in Single Sign‑On.
Follow the steps below to set up an OIDC provider for Single Sign‑On.
Follow steps 1–6 in Add an OIDC Provider.
Clear the Enable Discovery checkbox and enter the following information from the OpenID Connect metadata endpoint you constructed in the final step of the previous section.
For… Do the following… Authorization Endpoint URL Enter the
authorization_endpointvalue from the metadata endpoint.
Token Endpoint URL Enter the
token_endpointvalue from the metadata endpoint.
Token Key Enter the
jwks_urivalue from the metadata endpoint.
Issuer Enter the
issuervalue from the metadata endpoint.
User Info Endpoint URL Enter the
userinfo_endpointvalue from the metadata endpoint.
Response Type Select
id_tokenfrom the dropdown.
Relying Party OAuth Client ID Enter the Application ID you recorded in step 5 of Configuring Azure Active Directory as an OIDC Identity Provider. Relying Party OAuth Client Secret Enter the Client Secret you recorded in step 8 of Configuring Azure Active Directory as an OIDC Identity Provider.
openidas a scope. You can select additional scopes.
Under Advanced Settings > Attribute Mappings (optional) > User Attributes, select user_name as the User Schema Attribute and enter
unique_nameas the Attribute Name. This enables Single Sign‑On to identify the authenticated user.
(Optional) Configure additional attribute mappings.
Click Create Identity Provider to save your settings.
(Optional) Enable identity provider discovery for the service plan.