Configure Azure Active Directory as an OIDC Identity Provider

Pivotal Web Services End of Availability Announced
For more information, see Frequently Asked Questions.

This topic describes how to integrate Azure Active Directory (Azure AD) as an identity provider for a Single Sign-On (SSO) service plan, by configuring OpenID Connect (OIDC) in both Pivotal Web Services (PWS) and Azure AD.

Follow the steps below to set up relying party in Azure AD.

  1. Log in to your Azure account and navigate to Azure Active Directory > App registrations.

    Azure oidc app registrations

  2. Select + to create a New application registration. A configuration pane appears.

    Azure oidc new app reg

  3. 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.

    Azure oidc app reg create

  4. Use the search bar to find your application registration, and click on its listing in the search results.

    Azure oidc app reg searched

  5. Record the Application ID displayed on the screen. This will be the Relying Party OAuth Client ID.

    Azure oidc app reg id

  6. Open the Keys tab to generate your Client Secret.

    Azure oidc app keys

  7. Enter any name for the description of the key and select the appropriate duration for your security requirements.

    Azure oidc app secret set

  8. Click Save to generate your key value. This value is the Relying Party OAuth Client Secret. Record this value for future use.

    Azure oidc app secret show

  9. Under Reply URLs, configure and save the URI of the form https://AUTH_DOMAIN/login/callback/ORIGIN_KEY where:

    • AUTH_DOMAIN is the Auth Domain setting you entered when you created the service plan that you are integrating with Azure AD.
    • ORIGIN_KEY is based on the Identity Provider Name you set in the SSO 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.

    Azure oidc reply

  10. Identify your Azure Tenant Name. One location you can use to help you identify this is the App ID URI which uses the form https://TENANT-NAME/APPLICATION-ID.

    For example, in the App ID URI, the Azure Tenant Name is

    Azure oidc tenant name

  11. Construct the URL for the OpenID Connect metadata endpoint by replacing TENANT-NAME with your Azure Tenant Name in the following string: Example:

    Record these values for the next step, configuring your OpenID Connect identity provider in SSO.

    Azure oidc connect string