Search Results :


Setup User Provisioning (SCIM) into Drupal with OneLogin

Setup User Provisioning (SCIM) into Drupal with OneLogin

User Provisioning provides you with the ability to manage all the users at a central user management identity. OneLogin Provisioning service supports SCIM 2.0 protocol for automatic provisioning/de-provisioning. miniOrange 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. OneLogin.

Installation Steps

  • 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
  • Install the module:
    drush en user_provisioning
  • Clear the cache:
     drush cr
  • Configure the module at
  • 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

Configure Drupal as SCIM Server:

  • Once the module is installed, navigate to the Configuration tab of the Drupal site and select miniOrange User Provisioning.
  • miniOrang User Provisioning and Sync module installation steps
  • 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.
  • Azure-AD-click-on-configure-button

Create Application in OneLogin:

  • Log into the OneLogin Developer console.
  • From the Applications dropdown in the top navigation panel, click on Applications.
  • OneLogin-SCIM-Client-Navigate-to-Applications
  • Click on the Add App button.
  • OneLogin-SCIM-Client-Click-Add-App
  • Search for SCIM and select SCIM Provisioner with SAML (SCIM v2 Core).
  • OneLogin-SCIM-Client-Select-SCIM-Core-2.0
  • Under the Display label text field, enter the Application name and click on the Save button in the top right corner.
  • OneLogin-SCIM-Client-Enter-Application-Name

Configure OneLogin with SCIM Client:

  • Navigate to the Configuration section.
  • OneLogin-SCIM-Client-Navigate-to-Configuration
  • Navigate to the Drupal site and copy the SCIM Base URL
  • OneLogin-SCIM-Client-Copy-SCIM-Base-URL
  • Navigate back to the OneLogin console and paste the copied SCIM Base URL under the SCIM Base URL text field.
  • OneLogin-SCIM-Client-Paste-SCIM-Base-URL
  • Navigate to the Drupal site and copy the SCIM Bearer Token.
  • Okta-copy-SCIM-bearer-token
  • Navigate back to the OneLogin console. Scroll down and paste the copied SCIM Bearer Token into the SCIM Bearer Token text field.
  • Click on the Enable button.
  • OneLogin-SCIM-Client-Paste-SCIM-Bearer-Token
  • Click on the Save button.
  • Okta-SCIM-Client-click-save-after-test-connection
  • Navigate to the Provisioning section, check the Enable Provisioning checkbox, and click on the Save button.
  • OneLogin-SCIM-Client-Enable-Provisioning-Checkbox
  • Navigate to the Users section under the Users tab.
  • OneLogin-SCIM-Client-Navigate-to-Users
  • Select the user to provision on the Drupal site.
  • OneLogin-SCIM-Client-Select-the-User-to-assign
  • Navigate to the Applications tab from the left navigation menu.
  • OneLogin-SCIM-Client-Navigate-to-Applications-User
  • Click on the + to add the application.
  • OneLogin-SCIM-Client-Click-on-plus
  • From the Select application dropdown, select the application to assign the user and click on the Continue button.
  • OneLogin-SCIM-Client-Select-Application-to-Provision
  • Enter the SCIM username and click on the Save button.
  • OneLogin-SCIM-Client-Click-on-Save
  • Click on the Pending link.
  • OneLogin-SCIM-Client-Click-on-Provision
  • Click on the Approve button.
  • OneLogin-SCIM-Client-Approve-the-user
  • If the user is successfully provisioned, the following screen will be shown:
  • OneLogin-SCIM-Client-User-Succesfully-Provisioned
  • Let’s check if the user is provisioned to the Drupal site. Navigate to the Drupal site and click on the People tab from the top navigation panel. As per the following screenshot, the user has been successfully created on the Drupal site.
  • OneLogin-SCIM-Client-user-successfully-provisioned

Congratulations, you have successfully set up Drupal as the SCIM server and OneLogin as the SCIM client.

If the Provision was not successful, please contact us at Please send the screenshot of the error window, and we will assist you in resolving the issue and guiding you through the setup.

Additional Features:

 Case Studies
miniOrange has successfully catered to the use cases of 400+ trusted customers with its highly flexible/customizable Drupal solutions. Feel free to check out some of our unique case studies using this link.
 Other Solutions
Feel free to explore other Drupal solutions that we offer here. The popular solutions used by our trusted customers include 2FA, SSO, Website Security. 
  24*7 Active Support
The Drupal developers at miniOrange offer quick and active support for your queries. We can assist you from choosing the best solution for your use case to deploying and maintaining the solution.
Hello there!

Need Help? We are right here!

Contact miniOrange Support

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to