Automatically Fetch User Accounts without Manually Importing for OneLogin (via SCIM)
OneLogin (via SCIM)
Introduction:
OneLogin gives users the ability to access the applications and other resources they need to do their job by logging in once to a single interface. Platforms like OneLogin are known as Identity and Access Management (IAM) solutions that are primarily used to provide their users with a Single Sign-on (SSO) experience. OneLogin allows you to automatically send user account data (name, email, role, etc.) into external apps like Slack, Zoom, Salesforce, or your custom platform using SCIM without any CSV uploads or manual entry.
SCIM
SCIM (System for Cross-domain Identity Management) is a standard protocol that automates how users are created, updated, or removed across applications. With SCIM, OneLogin can sync user details, like name, email, role to apps like Zoom, or custom platforms that support SCIM.
SCIM helps by:
-
Automatically creating users when they’re added to OneLogin
-
Updating user info when their OneLogin profile changes
-
Disabling or deleting users from apps when removed in OneLogin
SCIM is ideal for improving security, reducing IT overhead, and ensuring consistent identity data across platforms.
Just-in-Time (JIT) Provisioning
Some apps (like G Suite, Zoom, etc.) allow JIT provisioning via SAML when the user logs in for the first time. SCIM is still used for full lifecycle management (e.g., deprovisioning, updates).
SAML
SAML (Security Assertion Markup Language) is a standard used for Single Sign-On (SSO). It allows users to log in once to OneLogin and gain access to multiple connected apps (like G Suite, Zoom, or Salesforce) without logging in again.
How it works:
-
The user logs in to OneLogin.
-
OneLogin sends a secure login token (assertion) to the app (service provider).
-
The app trusts OneLogin and grants access, no separate password needed.
SAML is useful for improving security and user convenience. It’s often used alongside SCIM, where SAML handles authentication and SCIM handles user creation, updates, and removals.
What is Automatic User Provisioning via OneLogin?
Automatic provisioning means OneLogin pushes user details to your app when a user is added, updated, or deleted using the SCIM protocol. This reduces errors, saves IT time, and ensures data stays in sync.
Requirement | Description |
---|---|
SCIM API Endpoint | A web link where OneLogin can send create/update/delete user requests |
Bearer Token | A secret token (like a password) so OneLogin can authenticate securely |
SCIM 2.0 Support | Your app must support SCIM 2.0 (understand user creation/update requests) |
Use OneLogin’s SCIM connector to automatically create, update, or deactivate user accounts in your SCIM-compatible application.
Requirements:What It Does:
TargetapplicationAuto-creates
yourmustuserssupportinSCIM(e.g.,app.Slack, Zoom, Atlassian, etc.).The app must be configured in OneLogin as a SCIM-enabled connector.
Auto-Provisionupdates Users via SCIM in OneLogin
SCIM (System for Cross-domain Identity Management) automates user account creation, updates, and deactivation between OneLogin and external apps. Once configured, OneLogin can instantly pushto user info (like name,title, email,phone, and title into SCIM-supported applications without manual import. This ensures consistent access control and keeps user account data accurate across systems. etc.).
Deactivates/suspends users when removed in OneLogin.
StepsSetup upon setupSteps:
Prepare Your App for SCIM Integration
-
Create a SCIM 2.0-compatible API endpoint in your app.
-
Generate a Bearer Token your app will recognize.
-
Support basic SCIM actions:
-
POST /Users (create)
-
PATCH /Users/{id} (update)
- DELETE /Users/{id} or deactivate (active: false)
-
SetAdd Up theYour App in OneLogin
-
Go to
.OneLoginAdmin Portal → Apps → Add App -
Search
forand select your app (e.g., Zoom, Slack, or Custom SCIM). -
Save and go to the app
(Slack,configuration.Zoom, Custom SCIM). Choose the SCIM-enabled version of the app.Save and configure it.
Enable SCIM Provisioning
Save your settings.
Configure Provisioning Settings Behavior
-
Choose what OneLogin does when:
Stillunder Provisioning, configure:When users are added, automaticallyprovision user to the appWhen users are removed,Suspend/deletein the appWhenA user is
updated,addedUpdate→infoCreate intheyour appToggle “Automatically” to avoid needing manual approval.
Set up User Mappings
Go to Users → Mappings.-
A user is updated → Sync changes
-
A user is removed → Suspend/Delete in your app
-
Toggle actions to "Automatically" if you don’t want manual approval.
-
Go to Users → Mappings.
-
Create or edit a mapping
thatrule:assigns-
Assign users to the app based on
conditions (role,department).department, etc. -
AssignDefineroleshowandOneLoginappssendsautomaticallyattributesbasedlikeonname,useremail,attributes.
-
Set Up User Mappings
Assign the App to Users or Roles
Either:
-
Go to the Users
sectiontab:→-
Assign
Appthe app directly toindividualusersusers
-
-
Or assign
the appit to aRole,Role,andthen assign users to that role
If provisioning is setactive, users matching the rules will be auto-synced to auto, the SCIM call will trigger and send the user to the connectedyour app.
What
Now what happens? Next?
Once integrated:
-
When a user is added to OneLogin → They are automatically created
orinupdatedyour app. -
If their profile changes in OneLogin
and→matchesYourtheappcriteriais(mappingupdated. -
If they’re removed → OneLogin disables or
manualdeletesassignment), OneLogin will:Auto-create the userthem inthe SCIM-connectedyour app.Syncattributes (name, email, title, etc.).Disable/suspend user in the app when removed in OneLogin.
No Manual Import NeededProvisioningRequirementEnable in App settings (Provisioning tab)PurposeAuto-ProvisionSCIM API URLEndpoint
sends user actionsEnablewhereauto-create/update/deleteOneLoginAssignmentBearer TokenAuthenticates UseOneLoginRoles,toMappings,youror direct assignmentSCIM 2.0 Support Lets Setyourendpointapp understand and apply user changesOneLogin Step Description Add App Add your SCIM-compatible app to OneLogin Enable Provisioning Enter SCIM URL and+tokenTokenfromtheSet Provisioning Rules Choose when to create/update/delete users Create Mappings Map OneLogin attributes to your app fields Assign Users/Roles Control which users get sent to your app