Azure AD OIDC Integration

Learn how to configure a connection to Azure AD via OIDC.


Introduction

Each SSO Identity Provider requires specific information to create and configure a new Connection (through Application registered). Often, the information required to create a connection will differ by Identity Provider.


Azure AD integration with Cripsa using OIDC consists of 4 parts,
  • 1. Create a project/select (an existing) project by logging into https://cripsa.com
  • 2. Create an App in Azure AD using admin account in https://portal.azure.com/
  • 3. Use Client Credential (ClientId and ClientSecret) and OIDC Issuer information information of the Azure AD App registered to integrate it with Cripsa.
  • 4. Use the Final URI received to call against the User click to start the Authentication process.

Create Project through Cripsa

Login to Cripsa Dashboard by using email account


logo-light

Once logged in Create project for OIDC.


logo-light

Fill all the details. All the fields are required.


logo-light

Click on “Create Project”.


logo-light

Note Down “SignIn Redirect URI” information which will be used while registering Azure OIDC App with Cripsa.


logo-light

What Cripsa provides

Cripsa provides the SignIn Redirect URL. It’s readily available in your Project Detail page of Cripsa Dashboard.


The SignIn Redirect URL is the location an Identity Provider redirects its authentication response to. In Okta’s case, it needs to be set by the Enterprise when configuring your application in their Okta dashboard.

Specifically, the SignIn Redirect URL will need to be set as the “Sign-in Redirect URIs” in the “Service Provider Details” step of the Okta OIDC setup.


What you’ll need

In order to integrate you’ll need is Client Credential (ClientId and ClientSecret) and OIDC Issuer information of the Okta App.

Normally, this information will come from your Enterprise customer’s IT Management team when they set up your application’s OIDC configuration in their Azure AD admin dashboard. But should that not be the case during your setup, here’s how to obtain it.


1. Log in

Open Azure Portal https://portal.azure.com/, on the right-side menu choose “Azure Active Directory-> Enterprise applications->New Application”. If your application is already created, select it from the list of applications and move to Step 6. If you haven’t created a OIDC application, select “New Application” and then provide the details.


logo-light

2. Enter Your App’s Information

Give the app a descriptive name and upload an icon, if applicable. Click “Continue”.


logo-light

Now add a certificate


logo-light
logo-light
logo-light
logo-light

Copy the ClientSecret and ClientID


logo-light

3. Obtain Client Credential

Copy the value of highlighted to get CLientId and then click on Client Credentials to get Client Secret. These two values needed for registration of OIDC app with Cripsa through Cripsa Dashboard in Step 6.


logo-light
logo-light

4. Adding Owners

In the Owners->Add owners, one can add users.


logo-light
logo-light
logo-light

5. Getting Issuer Information

Go to Overview and click on Endpoints. Copy the OpenID Connect metadata document URI and open this in browser.


logo-light
logo-light

Note down the highlighted issuer information and use this also while registering the OIDC App with Cripsa.


Now go back to https://cripsa.com/OIDC-register-app ->Select your project you have just created.


6. Registering OIDC App with Cripsa

Now go back to https://cripsa.com/OIDC-register-app ->Select your project you have just created.


logo-light
logo-light

Here Three Fields are Mandatory to fill:

  • Register Type
  • Provider Name (name must be unique with no special character and all in small letter)
  • Client Credentials (ClientId and ClientSecret)
  • OIDC Issuer

In the Register Type there are four options, and one has to select anyone of them as per your requirement. For more information on these options please see FAQ.


logo-light
logo-light
logo-light

7. User Login Testing

Using code URI to get code after successful login to Okta.


logo-light
logo-light
logo-light

Now follow the screen instructions to login


logo-light
logo-light

Using token URI to get accessToken after successful login to Okta.


logo-light
logo-light
logo-light

Now follow the screen instructions to login


logo-light
logo-light

Frequently asked questions

1. How many Registration Options available in Cripsa for OIDC and what is the difference between them?


In the Register Type there are four options:

  • Registration of OIDC Only
  • Registration of OIDC in Separate Client
  • Registration of OIDC with Other Already registered Auth Type Apps/Method+MFA
  • Registration of OIDC with Other Already registered Auth Type Apps/Method without MFA
logo-light

Only the Login screen would be Different for each Registration Type.


logo-light
Figure 1 Registration of OIDC Only
logo-light
Figure 2 Registration of OIDC in Separate Client
logo-light
Figure 3 Registration of OIDC with Other Already registered Auth Type Apps/Method with MFA

Here in the above diagram one can see MFA is available along with OIDC authentication.


logo-light
Figure 4 Registration of OIDC with Other Already registered Auth Type Apps/Method with MFA

Here in the above diagram one can see MFA is available along with OIDC and AUTH 2.0 authentication.


logo-light
Figure 5 Registration of OIDC with Other Already registered Auth Type Apps/Method without MFA