User Provisioning and Sync using WordPress as SCIM Server and Drupal as SCIM Client
Overview
Syncing user information across the applications that use Drupal as central Identity Provider is necessary. miniOrange User Provisioning and Sync module ensures that any changes in the user fields/roles are reflected to the connected WordPress application in accordance with the SCIM protocol. This setup guide will walk you through the steps to configure manual, automatic, or scheduler-based provisioning with WordPress. It is compatible with Drupal 9, Drupal 10, and Drupal 11.
The module also supports a two-way sync between Drupal and WordPress. You can reach out to us at drupalsupport@xecurify.com for one-on-one assistance from a Drupal developer.
Installation Steps
- Using Composer
- Using Drush
- Manual Installation
Configuration Steps
Configure Drupal as SCIM Client:
- In the Drupal site, once the module is installed, navigate to the User Provisioning tab (/admin/config/people/user_provisioning/provisioning).
- Click on the Configure button under the Changes from Provider to Drupal (SCIM Server) section.
- Enable the Enable SCIM Client API Integration checkbox.
Configure WordPress as SCIM Server:
- Log in to your WordPress site.
- Install and Activate the SCIM User Provisioning module on your WordPress site
- Navigate to the SCIM Configuration tab of the plugin and from the SCIM Configuration section, copy the SCIM Base URL.
- Navigate back to the Drupal site and paste the copied SCIM Base URL under the SCIM Base URL text field.
- Again navigate to the WordPress site, click on the Generate New token button, and copy the generated SCIM Bearer Token.
- Head back to the Drupal site and paste the copied SCIM Bearer Token under the SCIM Bearer Token text field.
- 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.
- Select the provisioning option as per your requirements.
- 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.