SCIM vs LDAP: Provisioning vs Directory Access Compared
SCIM pushes account changes outward: when your identity provider creates, updates, or disables a user, SCIM calls each connected app to do the same. LDAP answers questions inward, letting an application look up a record in one central directory. SCIM synchronises many directories; LDAP consults a single one.
- Opposite directions. SCIM writes changes into applications; LDAP reads records out of a directory.
- Different eras. LDAP comes from the on-premise directory world; SCIM was built for cloud app sprawl.
- Different failure modes. Weak SCIM leaves orphaned accounts; weak LDAP leaves apps unable to verify anyone.
- They meet at the provider. The IdP often reads its source directory via LDAP, then provisions apps via SCIM.
- Deprovisioning is the divider. SCIM's automatic account removal is something LDAP lookup never provided.
What does SCIM do?
SCIM, the System for Cross-domain Identity Management, is a REST and JSON standard for exchanging user and group data between an identity provider and applications.
The provider acts as the client. When an account is created, renamed, moved, or deactivated there, it calls each application's SCIM endpoint with the matching create, update, or deactivate operation.
Okta's SCIM overview stresses the lifecycle payoff: provisioning and deprovisioning become automatic, so a leaver's accounts close everywhere instead of waiting on tickets.
The current version, SCIM 2.0, is defined by IETF specifications RFC 7642, 7643, and 7644, which is why unrelated vendors' implementations interoperate without custom glue.
The schema is deliberately small: users and groups with a standard attribute set, extensible per vendor. That restraint is why implementations from rival vendors mostly interoperate.
Sync direction is usually provider-led, but SCIM also lets the provider read accounts back from an app, catching records created by hand outside the process.
What does LDAP do instead?
LDAP leaves the data where it lives. The directory holds one authoritative record per person, and applications come to it with questions whenever they need an answer.
A typical exchange is a bind to verify a password, then a search to fetch the user's groups and attributes. The application keeps no copy, or only a fleeting cache.
This pull model suited a world of on-premise applications inside one network. Every system could reach the directory, so copying accounts into each system seemed unnecessary.
Red Hat's LDAP overview describes that central-location role as the protocol's most common use case, with the directory tree organizing users, groups, and assets for any authorized querier.
The pull model also concentrates trust. An application needs only enough privilege to ask its questions, and the directory's own access rules police what it may see.
How do SCIM and LDAP compare?
| Dimension | SCIM | LDAP |
|---|---|---|
| Direction of travel | Pushes changes from provider to each app | Apps pull answers from one directory |
| Where accounts live | A synchronised copy inside every app | One central record, consulted live |
| Technology base | REST APIs and JSON over HTTPS | Directory protocol over port 389 or 636 |
| Lifecycle strength | Automated deprovisioning on departure | Disable centrally; app copies may linger |
| Typical counterparties | Cloud IdP and SaaS applications | Directory servers and on-premise systems |
| Standard | SCIM 2.0, RFC 7642 to 7644 | LDAPv3, RFC 4510 series |
| Answers which question | Should this account exist in that app? | What does the record say about this user? |
The second row explains most operational surprises. SCIM accepts copies everywhere in exchange for reach; LDAP avoids copies in exchange for requiring every app to come and ask.
Freshness cuts both ways in the table. SCIM copies can drift when a sync fails quietly; LDAP answers are live but unavailable the moment the directory is.
Think of it as publishing versus asking. SCIM publishes the roster to every venue; LDAP keeps the roster at headquarters and answers the phone when venues call.
Why did cloud apps need SCIM?
SaaS broke the pull model. A cloud application sits outside your network, cannot reach your directory, and keeps its own user database whether you like it or not.
Without a standard, every one of those databases was filled by hand, by CSV import, or by just-in-time creation at first login, none of which ever removed anybody.
SCIM gave providers one contract for all of it. Assign a user to an app in the provider, and the account appears before the user's first login, correctly named and grouped.
Our explainer on what is SCIM follows a joiner and a leaver through the flow to show where the hours of manual work used to hide.
Audit deprovisioning, not provisioning. Any tool can create accounts; ask each vendor to demonstrate a leaver's account closing, with timestamps, before you sign.
Just-in-time provisioning deserves its footnote: it creates the account at first login, which feels automatic, but it never updates or removes accounts, so it is half a lifecycle.
Where does LDAP still win?
Inside the estate, LDAP remains the fastest way to answer identity questions. Operating systems, VPNs, printers, and legacy applications already speak it fluently.
It also wins on freshness. A lookup reads the record as it stands now, while a SCIM-synced copy is only as current as the last successful sync.
And it wins on simplicity of truth. One directory means one place to correct a name, disable an account, or answer an auditor, rather than reconciling dozens of copies.
That is why directories did not disappear when SCIM arrived. They moved up a level: the provider treats the directory as its source, then fans changes out. The SCIM vs SAML comparison covers SCIM's other famous neighbour.
LDAP also wins inside the firewall on latency. A bind and search complete in milliseconds on a local network, with no dependency on a vendor's API uptime.
There is also a sovereignty point. The directory is yours, on your infrastructure, under your backup regime; SCIM copies live under each vendor's retention rules.
How do they combine in a modern stack?
Picture the flow end to end. HR records a departure in the system that feeds your directory, and the account there is disabled the same hour.
The identity provider, reading that directory directly or over LDAP, marks the user inactive. Its SCIM connectors then call every connected SaaS application to deactivate the matching accounts.
Meanwhile, the on-premise systems that never joined the federation simply stop authenticating the user, because their LDAP lookups now hit a disabled entry.
Each protocol did the half it is shaped for: LDAP kept the source honest, SCIM carried the consequences outward. Governance over both halves belongs in your access reviews cycle.
Group changes show the partnership at work. Move someone to a new team in the directory, and SCIM turns that single edit into updated memberships across every app.
Exceptions test the design. A contractor who exists in an app but not the directory is either a SCIM gap or a policy breach, and the model should say which.
What does each protocol cost to run well?
LDAP's costs are concentration costs: a replicated, backed-up, change-controlled directory, plus the expertise to design its tree and guard its bind accounts.
SCIM's costs are distribution costs: a connector per application, attribute mapping per vendor, and monitoring that notices when one app's sync silently stalls.
Failure accounting differs. A directory incident is loud and total; a SCIM incident is quiet and partial, discovered when a leaver's account surfaces in an audit.
Budget for detection accordingly. Directory health checks are table stakes, while SCIM needs per-app sync reporting with alerts on age and error counts.
Skills markets reflect the split. Directory engineers are deep specialists; SCIM work sits with identity platform teams who think in APIs, mappings, and vendor release notes.
Which should you prioritise?
If your pain is SaaS sprawl, with accounts lingering in apps after people leave, SCIM is the priority. It is the only one of the two that reaches inside cloud applications.
If your pain is a fragmented on-premise estate where every system keeps its own user list, consolidate the directory first. SCIM has nothing worth syncing until a trustworthy source exists.
Check application support honestly in both directions. Some SaaS apps still gate SCIM behind top tiers, and some legacy tools will only ever bind to LDAP.
Record which mechanism serves each application in your app inventory. When an auditor asks how a leaver lost access everywhere, that map, not a protocol debate, is the answer.
Pilot with one painful application each way: the SaaS tool with the worst leaver record for SCIM, the legacy system with the messiest user list for directory cleanup.
Sources
Frequently asked questions
What is the difference between SCIM and LDAP?
SCIM pushes account changes from an identity provider into each connected application, creating, updating, and deactivating local accounts. LDAP lets applications pull answers from one central directory instead of holding synchronised copies.
Does SCIM replace LDAP?
No. The identity provider often reads its authoritative user data from a directory, sometimes over LDAP, then uses SCIM to fan changes out to SaaS apps. They operate at different points in the same chain.
Why can SaaS apps not just use LDAP?
A cloud application sits outside your network and cannot reach an on-premise directory, and it keeps its own user database regardless. SCIM was designed to synchronise those external databases automatically over HTTPS.
Which protocol handles offboarding better?
SCIM, for cloud applications, because deactivation is a first-class operation pushed to every connected app. Disabling a directory entry stops LDAP-based logins, but copies of the account inside SaaS tools can linger without SCIM.
What standards define SCIM and LDAP?
SCIM 2.0 is defined by IETF RFCs 7642, 7643, and 7644, using REST and JSON. LDAPv3 is defined by the RFC 4510 series and uses its own directory access protocol.