Setup miniOrange as a SCIM Client using the User Provisioning module in Drupal
Overview
User Provisioning provides you with the ability to manage all the users at a central user management identity. miniOrange Provisioning service supports SCIM 2.0 protocol for automatic provisioning/de-provisioning. User Provisioning and Sync module implement the SCIM endpoints to allow provisioning/de-provisioning of users into the Drupal site as and when any CRUD operation is performed in the central identity i.e. miniOrange.
Installation Steps
- Using Composer
- Using Drush
- Manual Installation
Configuration Steps
Configure Drupal as SCIM Server
Note: You will require the Premium Version of the module to set up Drupal as an SCIM server.
- Once the module is installed, navigate to the Configuration tab of the Drupal site and select miniOrange User Provisioning.
- Navigate to the User Provisioning tab of the module and click on the Configure button under the Changes from Provider to Drupal (SCIM Server) section.
Configure Automatic Provisioning with miniOrange
Case 1: Only Provisioning (Just want to enable provisioning through miniOrange)
- Login into your miniOrange Admin console and Navigate to the Apps section in the left side.
- Click on + Add Application button.
- Then select PROVISIONING.
- Enter your Custom Application Name, SCIM Base URL and Bearer token copied from the SCIM Configuration tab of the Durpal SCIM user provisioning module.
- You can also send your desired attributes from your IDP to Drupal by simply adding the Target Attributes and selecting the value of those attributes in miniOrange Attributes.
Note: The following attributes are required for SCIM User Provisioning in Drupal.
- Click on Save.
Case 2: If you want user provisioning (SCIM) using SAML SSO
- Navigate to the Apps -> + Add Application -> SAML/WS-FED.
- Search for Drupal, and then select Drupal (SAML). Refer to the below screenshot.
- Enter Custom Application Name as per your choice.
Note: Click here if you have configured miniOrange as IDP and Drupal as Service Provider.
- Go to the Provisioning tab and Enter SCIM Base URL, Bearer token copied from the SCIM Configuration tab of the Drupal SCIM User Provisioning module.
- You can also send your desired attributes from your IDP to Drupal by simply adding the Target Attributes and selecting the value of those attributes in miniOrange Attributes.
Note: The following attributes are required for SCIM User Provisioning in Drupal.
- Click on Save.
Enable Provisioning Features
- This feature allows you to enable automatic provisioning / de-provisioning of users in the app when a user gets created, updated, or deleted in miniOrange.
- Click on the toggle switch of the features you want to provide with automatic provisioning or de-provisioning and save the options.