Search Results :

×

Setup WordPress as SCIM Server and Drupal as SCIM Client

The User Provisioning & Sync Module allows you to automatically create (provision) and delete (deprovision) user accounts and have them synced bidirectionally between Drupal and WordPress. Any changes or updates done to the user information can also be synced between the Drupal and WordPress. Keep reading to see how it’s done.

  • Download the module:
    composer require 'drupal/user_provisioning'
  • Navigate to Extend menu on your Drupal admin console and search for miniOrange User Provisioning using the search box.
  • Enable the module by checking the checkbox and click on Install button.
  • Configure the module at
    {BaseURL}/admin/config/people/user_provisioning/overview
  • Install the module:
    drush en user_provisioning
  • Clear the cache:
     drush cr
  • Configure the module at
    {BaseURL}/admin/config/people/user_provisioning/overview
  • Navigate to Extend menu on your Drupal admin console and click on Install new module button.
  • Install the Drupal User Provisioning and Sync module either by downloading the zip or from the URL of the package (tar/zip).
  • Click on Enable newly added modules.
  • Enable this module by checking the checkbox and click on Install button.
  • Configure the module at
    {BaseURL}/admin/config/people/user_provisioning/overview
  • 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 API Credentials section, copy the SCIM Base URL and SCIM Bearer Token. (Keep it handy, as it will be required to configure Drupal as a SCIM Client.)
WordPress-SCIM-Server-Click-SCIM-Configuration-Copy-Base-URL

  • Go to the User Provisioning tab of the module and click the Configure button under the Changes from Drupal to Provider (SCIM Client) section.
Drupal user provisioning - select changes from drupal

  • Turn on the Enable SCIM Client API Integration toggle and paste the copied SCIM Base URL and Bearer Token into the SCIM 2.0 Base URL and SCIM Bearer Token text fields, respectively.
  • Once done, click the Save and Test Credentials button.
Drupal user provisioning - Enable toggle

  • If the test is successful, you’ll see a success message.
Drupal-SCIM-Client-Drupal-Click-Save-and-Test-Credentials

  • After successfully testing the configuration, scroll down to the Attribute Mapping section.
  • Select the Drupal User Attribute you want to map to the corresponding SCIM Provider Attribute, then click the Save mapping button.
  • Once done, click on the Next Step.
Drupal user provisioning - Attribute Mapping

  • The User Provisioning & Sync module supports three types of provisioning:
    • Manual/On-Demand Provisioning: In Manual/On-Demand Provisioning, users are created, updated, deactivated, or deleted by the admin as needed.
    • Automatic Provisioning: With Automatic Provisioning, when you create, update, or delete a user on one Drupal site, the same changes happen automatically on the other site. It keeps both sites in sync without manual work.
    • Scheduler-based Provisioning: This allows you to perform CRUD operations on any Drupal user in your provider during the CRON run.
  • Choose the Provisioning Types based on your preference.
Drupal user provisioning - Attribute Mapping

  • Select the Provisioning Operations (create, update, deactivate, delete) as needed.
Drupal user provisioning - Attribute Mapping

  • This feature allows provisioning of users who have any of the selected roles. Only those users will be sent to the WordPress (server) site; others will be skipped.
Drupal user provisioning - Role filter

  • This feature allows you to send user roles from Drupal as groups to WordPress (server) site.
  • Note and Contact Us

    Note: Default roles of Drupal will not be synced.


  • Click on the All Done button.
Drupal user provisioning - Group provisioning

  • Click the Perform Manual Sync button under the Manual Provisioning column.
Drupal user provisioning - perform manual on demand provisioning

  • Search for the user you want to provision to the WordPress (server) site, then click the Submit button.
Drupal user provisioning - perform manual on demand provisioning

  • Once the user is successfully provisioned to the application, a success message will be displayed.
Drupal user provisioning - successfullly performed manual-provisioning

  • Let's check whether the user has been created/provisioned on the WordPress (server) site. Follow the steps below to find the created user:
    • From the left panel, open the Users dropdown and click on All Users.
    Drupal user provisioning - user craeted on wordpress site

  • Automatic Provisioning will help you to provision users based on any of the following events:
    • Admin Interface: When admins or authorized users manually create, update, or delete a user’s account through the Drupal admin panel.
    • User Account Change: When users create, update, or delete their own information using the user/{user_id}/edit page or a custom form.
    • 3rd Party Modules: When a user is created or updated on the Drupal site through third-party modules, apps, or custom code.
  • For example, let’s see how automatic provisioning works using the Admin Interface:
    • Navigate to the People tab (admin/people) in the top navigation bar of the Drupal Client site and click on the +Add user button.
    Drupal user provisioning - add user

    • Fill in the user details, then click the Create new account button.
    Drupal user provisioning - Enter user details

  • Let's check whether the user has been created/provisioned on the WordPress (server) site. Follow the steps below to find the created user:
    • From the left panel, open the Users dropdown and click on All Users.
    Drupal user provisioning - Automatically user created

Congratulations! You’ve successfully set up WordPress as the SCIM Server and Drupal as SCIM Client.

If the provisioning was not successful, please contact us at drupalsupport@xecurify.com. Kindly include a screenshot of the error window, and we will assist you in resolving the issue and guide you through the setup.

ADFS_sso ×
Hello there!

Need Help? We are right here!

support