User Provisioning between two Drupal websites
Overview
If you have users on two Drupal websites and want to keep both sites updated with user information without logging in separately each time, miniOrange offers a solution using the SCIM standard. It helps provision users to both Drupal websites seamlessly.
In order to address this issue, miniOrange has developed a Drupal module that allows Drupal to Drupal User Provisioning and Sync. This module enables users to log into another Drupal website using their Drupal account credentials in order to visit your website. The SCIM User Provisioner module also supports provisioning with custom Providers. Any IDP that follows the SCIM standard is compatible with the SCIM User Provisioner module.
Installation Steps
- Using Composer
- Using Drush
- Manual Installation
Let's assume you have two Drupal sites: a Server site and a Client site. In this setup, the Server site will function as a Drupal SCIM Server, while the Client site will operate as a Drupal SCIM Client. This configuration ensures that any CRUD (Create, Read, Update, Delete) operations executed on the Client site will be synchronized and reflected on the Server site
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.
- Head towards the Drupal site and navigate to the User Provisioning tab of the module (/admin/config/people/user_provisioning/provisioning).
- In the Changes from Provider to Drupal (SCIM Server) section, click on the Configure button, as indicated in the screenshot below.
- From Configure Drupal as a SCIM server copy the SCIM Base URL and SCIM Bearer Token and keep it handy.
Configure Drupal as SCIM Client:
- After installing and enabling the module on the Client site, navigate to the Configuration → miniOrange User Provisioning from the toolbar.
- Head towards the User Provisioning tab of the module and click on the Configure button under the Changes from Drupal to Provider (SCIM Client) section.
- Select the Enable SCIM Client API Integration checkbox.
- Paste the copied values from the Server site into the SCIM 2.0 Base URL and SCIM Bearer Token fields and click on the Save and Test Credentials button.
- Once the test is successful you will get a success message.
Attribute Mapping:
- After the successful Test configurations, scroll down to the Attribute Mapping section.
- Select the user attribute you want to map with the SCIM Provider Attribute from the Drupal User Attribute section and click on Next Step.
How Provisioning Works?
The module supports 3 types of provisioning:
- Manual/On-Demand Provisioning
- Automatic Provisioning
- Scheduler-based Provisioning.
- Choose your preferred provisioning option.
- Manual/On-Demand Provisioning
- Automatic Provisioning
You can see the user has been successfully provisioned to the Drupal Server site.
If the Provision was not successful, please contact us at drupalsupport@xecurify.com. Please send the screenshot of the error window, and we will assist you in resolving the issue and guiding you through the setup.