SCIM(Cross-domain Identity Mgt.)


Okta SAML Integration with SICM


Learn how to configure a connection to OneLogin via SAML.


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.

OneLogin integration with Cripsa using SAML consists of 4 parts,


  • Create an App in Okta using admin account in https://<your-domain>.okta.com
  • Use Issuer/Metadata URL information of the OneLogin App registered to integrate it with Cripsa.
  • Use the Final URI received to call against the User click to start the Authentication process.

Create Project through Cripsa


 


scim-workflow_clip_image002.png

Choose any one option to login.


Once logged in Create project by clicking on “Create Project” on the right corner.


scim-workflow_clip_image004.png

scim-workflow_clip_image006.png

Now select any of the product which customer want to use and follow the screen for creation of a new project.


scim-workflow_clip_image008.png

Fill all the detail as mentioned above and click on “Create Project”.


scim-workflow_clip_image010.png

Note down all the information before proceeding further.


Wait for 5 Min and press on continue to proceed further.


scim-workflow_clip_image012.png

 

What Cripsa provides

Cripsa provides the ACS URL and the SP Entity ID. It’s readily available in your Project Detail page of Cripsa Dashboard.


scim-workflow_clip_image014.png


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

The SP Entity ID is a URI used to identify the issuer of a SAML request, response, or assertion. In this case, the entity ID is used to communicate that Cripsa will be the party performing SAML requests to the Enterprise’s OneLogin instance.

“ACS URL” in the “Service Provider Details” step of the OneLogin SAML setup.

What you’ll need

Registering an application for SAML in IDP using ACS (Assertion Consumer Service) URL and SP-EntityID from Cripsa involves a few steps. Below is a step-by-step guide to help you with the process:

Steps to Register App for SAML :

Note: Here we have chosen OKTA as IDP.

1. Login to Okta Admin Dashboard:

   - Open your web browser and navigate to the Okta Admin Dashboard.
- Log in with your administrator credentials.

scim-workflow_clip_image016.png


2. Navigate to Applications:

   - On the Okta Admin Dashboard, click on the "Applications" tab located in the top navigation bar.
- Click on the "Add Application" button.


scim-workflow_clip_image018.png

 

3. Select SAML 2.0 Application:

   - select the "SAML 2.0" option from the Pop-Up Window.


scim-workflow_clip_image020.png


- Click the "Next" button.

4. Configure SAML Settings:

   - General Settings:
- Enter an App name that identifies this SAML application within Okta.


scim-workflow_clip_image022.png

- SAML Settings:
- Single sign on URL: Enter the ACS URL provided by Cognito.
- Audience URI (SP Entity ID): Enter the SP-EntityID provided by Cognito.

scim-workflow_clip_image024.png


- Name ID format: Choose an appropriate Name ID format based on your requirements (usually 'EmailAddress' or 'Unspecified').
- Application username: Select the attribute that will be used as the username from the SAML assertion (usually 'Email' or 'user.email').
- Group Attribute Statement: If required, map groups from Cognito to Okta groups by adding the appropriate group attribute statements.
- Attribute Statements: Map any additional attributes as required by your application or policies.
- Feedback Options: Configure any additional settings based on your requirements.

scim-workflow_clip_image026.png


5. Finish Configuration:

   - Once you have entered all the necessary SAML settings, click the "Next" button.
- Complete any additional configurations such as assigning users or groups, setting up policies, and more as needed.
- Click the "Finish" button to complete the setup.

scim-workflow_clip_image028.png


6. Download Okta Metadata (optional):

   - After configuring the SAML settings, you can get the Okta metadata from the "Sign On" tab of your SAML application in Okta.

scim-workflow_clip_image030.png


7. Upload Metadata File by Register OneLogin App with Cripsa

From Step 4 use the Issuer URI to register the app with Cripsa .
Now go back to https://cripsa.com/saml-register-app ->Select your project you have just created.

Here Three Fields are Mandatory to fill:

  • Environment Selection

scim-workflow_clip_image032.png


  • Register Type

scim-workflow_clip_image034.png


  • Provider Name (name must be unique with no special character and all in small letter)

 

scim-workflow_clip_image036.png

  • Metadata URL or File Upload

 

scim-workflow_clip_image038.png


After filling all the details click on “Register SAML App”.

scim-workflow_clip_image040.png

scim-workflow_clip_image042.png

scim-workflow_clip_image044.png


Now use the above URL to develop your Login Pad for your portal/application.

8. User Login Testing

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


scim-workflow_clip_image046.png

scim-workflow_clip_image048.png

scim-workflow_clip_image050.png

 

scim-workflow_clip_image052.png


Now from Code get AccessToken using our API “Get Access Token” whose detail given at the following location:
https://cripsa.com/session-mgt-get-token-from-code

Once you get the AccessToken save this in your database to reuse it for multiple login.
Also see various other APIs through which you can manage Sessions of the user in Session management API sections.

scim-workflow_clip_image054.png


 

System for Cross Management Identity Management (SCIM)

In Cripsa Once the project has been registered then one can import User details into there UserPool provided through Cripsa using SCIM. This involves two steps.

  • Generate CSV template File
  • Upload CSV and sync user

 

The detail on what all the value constraints has been given at following location:

https://cripsa.com/scim-upload-csv


scim-workflow_clip_image056.png


Generate CSV Template File

Go to SCIM->Cross Domain Identity Management->Generate CSV Template File

Select the Environment and then select the project which has been created before proceeding with this section.

scim-workflow_clip_image058.png

scim-workflow_clip_image060.png


Now click on “Generate CSV Template file” button.

scim-workflow_clip_image062.png


Now Download the file and fill all the detail of the users which you want to import into Cripsa provided UserPool.

scim-workflow_clip_image064.png

scim-workflow_clip_image066.png


For Sample CSV with Sample data click on “Download button” near Our Sample CSV as highlighted above.

Upload CSV and Sync Users

Go to SCIM->Cross Domain Identity Management->Upload CSV and Sync Users

Now select Environment, Project and CSV file containing all the detail about the user and click on “Upload CSV Template File”.


scim-workflow_clip_image068.png

 

scim-workflow_clip_image070.png

scim-workflow_clip_image072.png


Once Import Successful the UserPool getting updated with the user information. The sample detail shown below which is not visible to Cripsa Client.


scim-workflow_clip_image074.png


Frequently asked questions

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

 

In the Register Type there are four options:

  • Registration SAML in Master Client
  • Registration of SAML in Separate Client

scim-workflow_clip_image075.png


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


scim-workflow_clip_image077.png

Figure 1 Registration of SAML in Master Client

scim-workflow_clip_image078.png

Figure 2 Registration of SAML in Separate Client

                             
scim-workflow_clip_image080.png

Figure 3 Registration of SAML in Master Client when Other Already registered Auth Type Apps/Method with MFA