CMiC API and OAuth 2.0 Integration - How to Get Issuer and jwks_uri

  1. Go to the Azure portal.

  2. Go to the registered application.

  3. Choose one of the following:

    1. Get the Tenant ID and use the below URLs:

      1. Version 1(V1): https://login.microsoftonline.com/{tenant_id}/.well-known/openid-configuration

      2. Version 2(V2): https://login.microsoftonline.com/{tenant_id}/v2.0/.well-known/openid-configuration

    2. Click on the Endpoints option in the Overview section and copy the "OpenID Connect metadata document" link.

  4. Find the following attributes by replacing {tenant_id} with the appropriate Tenant ID:

    1. Issuer

      1. V1: https://sts.windows.net/{tenant_id}/

      2. V2: https://login.microsoftonline.com/{tenant_id}/v2.0

    2. jwks_uri

      1. V1: https://login.microsoftonline.com/common/discovery/keys

      2. V2: https://login.microsoftonline.com/{tenant_id}/discovery/v2.0/keys

NOTE: The JWT access token always matches version 1 in which the Issuer URI is different.