Disabling a user in the identity provider stops new SSO logins, but it does not by itself remove the account in each SaaS application, end the sessions already open, or revoke the API tokens the user created. SSO and SCIM are often bought and discussed together, and many teams assume one implies the other. They solve different problems: SSO (SAML 2.0 or OpenID Connect) decides who may authenticate to an application now, while SCIM 2.0 (RFC 7643 and RFC 7644) manages whether an account exists in the application, with what attributes and group memberships, over its lifetime. This guide explains how the two split the work, what each leaves uncovered, the failure modes when only one is in place, and the controls that close the gaps. It is written for IAM engineers, SaaS administrators and security architects. It compares protocols, not products.
Key takeaways
- SSO is a front door, SCIM is the account register. SSO controls the authentication event; SCIM creates, updates, deactivates and deletes the account behind it. Removing access properly needs both.
- SSO alone leaves four gaps. Local password logins that bypass the IdP, active sessions that outlive the IdP change, API tokens and personal access tokens tied to the account, and the account itself, which still exists with its data and sharing.
- SCIM alone does not authenticate anyone. Without SSO enforcement, a provisioned account still logs in with an application password, outside your MFA and conditional access policies.
- Partial SCIM is the common failure. Create without deactivate, users without groups, or a scope that covers only part of the workforce produces orphaned access that looks managed.
- Session and token revocation are separate steps. Neither SAML login nor SCIM deactivation reliably kills existing sessions or tokens; use back-channel logout, CAEP signals where supported, and an explicit token revocation step in offboarding.
Who does what: the division of labour
| Question | SSO (SAML 2.0, OIDC) | SCIM 2.0 |
|---|---|---|
| Core job | Authenticate a user to an application using the IdP's login, MFA and policy | Create, read, update, deactivate and delete user and group resources in the application |
| When it runs | At each sign-in, triggered by the user | On a schedule or event, triggered by the IdP or HR source, whether or not the user signs in |
| Direction | Assertion or ID token from IdP to application via the browser (or back channel for logout) | REST API calls from the IdP (SCIM client) to the application (SCIM service provider) |
| Standards | SAML 2.0 Web Browser SSO Profile; OpenID Connect Core 1.0 | RFC 7643 (core schema) and RFC 7644 (protocol), Proposed Standards, September 2015, since updated by later RFCs |
| Key objects | Assertion, NameID or sub, attributes and claims, session | /Users, /Groups, the active attribute, the Enterprise User extension, /ServiceProviderConfig |
| What it decides | Can this person sign in now? | Does this person have an account here, and in which groups? |
| Joiner | Can create an account at first login only with JIT provisioning | Creates the account before first login (POST /Users) |
| Mover | Can pass updated attributes at the next login | Updates attributes and group membership as they change (PATCH) |
| Leaver | Blocks new logins via the IdP only | Sets active to false or deletes the resource |
| Authentication of the channel | Signed assertions or tokens | Not defined by SCIM; RFC 7644 relies on TLS and HTTP authentication such as OAuth 2.0 bearer tokens |
Microsoft Entra's provisioning documentation draws the same line: SSO uses SAML or OIDC for authentication, while provisioning creates and manages the accounts, and SSO alone does not create accounts except through SAML JIT provisioning. For how the sign-in flow works, see How Single Sign On Works; for SCIM mechanics, see the SCIM Provisioning Guide.
The gaps SSO leaves
Local accounts and password logins
Many applications keep a local username and password path alongside SSO, often for administrators, break-glass access, API users or early adopters who signed up before SSO was configured. Anyone with those credentials bypasses IdP MFA, conditional access and the IdP's disable switch. The Snowflake breach showed the result at scale: customer accounts that required only a username and password were accessed with credentials taken by infostealers, and Snowflake's later phase-out of single-factor password sign-ins left SAML, OAuth and key pair authentication in place. Enforcing SSO for every interactive user, and removing or vaulting the remaining local accounts, is the fix. See SSO Coverage and Unmanaged Apps for measuring which apps still allow local login.
Sessions that outlive the change
An application session created through SSO usually lives in the application's own cookie or token, with its own lifetime. Disabling the user in the IdP prevents the next sign-in, but the existing session continues until it expires or is ended. NIST SP 800-63C notes that the relying party can end an authenticated session at any time, independently of the IdP; it has to choose to. Mechanisms that propagate the change:
- OpenID Connect Back-Channel Logout 1.0 (Final): the OpenID Provider POSTs a signed logout_token to each relying party's registered backchannel_logout_uri; the relying party must validate it, clear the matching sessions and revoke refresh tokens issued without offline_access. It works only where the application implements it and its endpoint is reachable from the provider.
- SAML Single Logout Profile: the IdP sends logout requests to each session participant over front-channel or back-channel bindings. Support and reliability vary by application; test it rather than assume it.
- CAEP 1.0: the OpenID Continuous Access Evaluation Profile, published on 29 August 2025 under the Shared Signals Framework, defines events such as session-revoked, credential-change and token-claims-change that a transmitter can send to receivers. See CAEP and Continuous Access Evaluation.
- Application admin action: where none of these is supported, the offboarding runbook must include an explicit "sign out all sessions" step through the application's admin console or API.
Stolen session cookies are a separate threat with the same root: a valid session is accepted regardless of IdP state. ATT&CK tracks this as T1550.004 Web Session Cookie. See Credential Theft vs Session Hijacking.
API tokens, personal access tokens and OAuth grants
Tokens a user creates inside an application (personal access tokens, API keys, OAuth grants to third-party integrations) authenticate directly to the application's API. They do not pass through the IdP, so SSO never sees them. Whether SCIM deactivation revokes them depends entirely on the application: some revoke tokens when the account is deactivated, others leave them working. The Coupang breach is the extreme version: a former engineer's staff account could be disabled, but the token signing key he had copied was never rotated, and he forged access tokens for months after leaving. Offboarding has to cover the credentials a leaver created or could reach, not only the login. See the guide to setting expiry policies on personal access tokens.
The account itself
Without SCIM, the application account persists after the IdP account is disabled. It still holds data, owns files and shared links, sits in groups, may consume a paid seat and, if any local credential or token exists, remains usable. The federal SSO playbook from idmanagement.gov warns that enabling users directly in an application can leave accounts active after a user leaves, and asks integration teams to agree provisioning and deprovisioning, manual or automated, before go-live.
What SCIM covers, and what it does not
| Lifecycle event | SCIM operation | What to check in the application |
|---|---|---|
| Joiner | POST /Users; POST or PATCH /Groups to add membership | Default role for new accounts; whether groups map to roles |
| Mover | PATCH /Users attributes; PATCH /Groups membership | Whether role changes remove old privileges, not only add new ones |
| Leaver (suspend) | PATCH active to false | RFC 7643 leaves the exact meaning of active to the service provider: confirm it blocks login, API tokens and sessions |
| Leaver (remove) | DELETE /Users/{id} | Data ownership transfer and retention before deletion |
| Reconciliation | GET /Users with filters | Whether filtering is supported (it is optional in RFC 7644); accounts created outside SCIM |
| Capability discovery | GET /ServiceProviderConfig | Which of patch, bulk, filter and sort the application supports |
SCIM does not authenticate users, does not end sessions by itself, and cannot see accounts that were created outside it. NIST SP 800-63C states that an IdP using a provisioning API must deprovision relying party accounts for subscribers terminated at the IdP, unless retention rules or regulations require otherwise. For the comparison with just-in-time creation, see SCIM vs JIT Provisioning; for directory-based provisioning, see LDAP vs SCIM.
Failure modes by configuration
| Configuration | What works | What fails | Typical symptom |
|---|---|---|---|
| SSO only, no SCIM | Central login, MFA and conditional access | Accounts persist after leavers; mover changes lag until next login | Licence count exceeds headcount; former staff still listed as file owners |
| SSO with JIT | Accounts created on first login | No deprovisioning; no updates for users who stop signing in | Dormant accounts with old roles |
| SCIM only, SSO not enforced | Account lifecycle | Users authenticate with application passwords, outside IdP policy | Password resets in the app; MFA gaps |
| Partial SCIM (create only) | Joiners | Leavers and movers | Accounts that look managed but never deactivate |
| Partial SCIM (users, not groups) | Account existence | Role and permission changes | Movers keep old privileges |
| Partial scope | In-scope population | Contractors, service users, early sign-ups | Reconciliation finds unmatched accounts |
| SSO and SCIM, local login still enabled | Most lifecycle | Bypass via local password or admin account | Successful logins with no matching IdP event |
The SSO tax and commercial constraints
Many SaaS vendors put SSO, and more often SCIM, in their top pricing tier. CISA's 2024 report on barriers to SSO adoption for small and medium-sized businesses found that SSO is often sold as a premium enterprise service with seat minimums, that customers call this the "SSO tax", and recommended that vendors decouple essential services like SSO from premium bundles. When SCIM is not available for an application, the controls still have to exist: a manual or scripted deprovisioning step tied to the leaver workflow, a scheduled reconciliation of application users against the IdP, and enforced SSO so that a lingering account cannot be used without the IdP. Budgeting for the tier is covered in SSO Coverage and Unmanaged Apps; add "SSO and SCIM in the purchased tier, with deactivation that revokes sessions and tokens" to procurement questions.
Implementation: getting both working per application
- Inventory: list every SaaS application with: SSO protocol support, whether SSO can be enforced (local login disabled), SCIM support, SCIM operations supported (from /ServiceProviderConfig and vendor docs), session revocation mechanism and token types.
- Enforce SSO: configure SAML or OIDC, then disable local password login for all users except one or two vaulted break-glass accounts. Test that a password reset link no longer grants access.
- Connect SCIM in a pilot: start with a test group. Confirm create, attribute update, group add and remove, deactivate and, if used, delete. Check what active false actually does in the application: login blocked, sessions ended, tokens revoked or not.
- Match existing accounts: before widening scope, match application accounts to IdP identities on an immutable attribute. Treat unmatched accounts as orphans to be owned or removed, not left alone.
- Widen scope in rings: department by department, watching provisioning logs for errors. Keep the previous manual process available as the rollback until a full leaver cycle has passed cleanly.
- Close the session and token gap: configure back-channel logout or CAEP where supported; otherwise add an admin "revoke sessions and tokens" call to the leaver runbook.
- Protect the SCIM credential: the bearer token the IdP uses to call the application's SCIM endpoint can create and modify accounts. Store it in the IdP or a secrets manager, scope it, rotate it and alert on its use from any other source.
- Reconcile regularly: compare application users with IdP assignments weekly or monthly and investigate drift.
The SSO integration checklist covers the per-application SSO configuration steps; troubleshooting is covered in the SAML SSO Errors Troubleshooting Guide and the SCIM Provisioning Errors Troubleshooting Guide.
Decision guidance
- Application holds sensitive data or admin power: require enforced SSO and SCIM with deactivation, plus a tested session revocation path. Treat lack of these as a procurement risk to be accepted explicitly.
- Low-risk application with SSO but no SCIM: enforce SSO, use JIT if offered, and add the application to the monthly reconciliation and the leaver runbook.
- Application with neither: vault the shared or local credentials where possible, record an owner, and include it in quarterly access reviews.
- Small organisation: prioritise enforced SSO on the applications holding the most sensitive data and a single leaver checklist that covers sessions and tokens; add SCIM where the tier allows.
- Large organisation: drive SCIM from HR events through the IdP, make SCIM and enforced SSO a standard for new purchases, and measure orphaned accounts as a KPI.
Where identity fits for non-human accounts
SCIM provisions people well; it rarely covers service users, integration accounts or bot users, and SSO does not apply to them at all. These accounts typically authenticate with API keys, OAuth client credentials or key pairs, so their lifecycle needs its own owner, inventory and rotation. The SCIM bearer token is itself a non-human credential with account-creation power. See the NHI Offboarding vs Human Offboarding guide and the Joiner-Mover-Leaver Guide.
Detection and measurement
- Logins without an IdP event: successful application logins with no matching IdP authentication in the same window indicate local login or session reuse.
- Activity after termination: any application or API activity by an identity after its HR termination date (ATT&CK T1078.004 Cloud Accounts covers abuse of valid cloud accounts).
- SCIM errors: failed provisioning operations, especially failed deactivations, should alert rather than sit in a log.
- Accounts created outside SCIM: application account creation events not initiated by the SCIM client (ATT&CK T1098 Account Manipulation covers related persistence).
Metrics that show the split is working:
- Percentage of applications with enforced SSO (local login disabled).
- Percentage of sensitive applications with SCIM deactivation in place and tested.
- Median time from HR termination to application deactivation, and to session and token revocation.
- Number of orphaned accounts found per reconciliation, trending down.
- Licence count against active assigned users per application.
Common failure patterns
- Assuming IdP disable equals offboarding: the account, its sessions and its tokens persist in each application.
- Leaving a local admin path open: a single local administrator with a password and no MFA undoes SSO enforcement.
- Trusting active false without testing: the application decides what deactivation means; some leave API tokens working.
- Provisioning users but not groups: movers keep old privileges because role-bearing groups are managed by hand.
- Ignoring the credentials a leaver could reach: as the Coupang case shows, keys and tokens outside the login path need rotation when their holder leaves.
- Treating the SCIM token as configuration: it is a privileged credential and is often long-lived and unrotated.
Framework mapping
| Framework | Reference | SSO | SCIM |
|---|---|---|---|
| NIST SP 800-53 Rev 5 | IA-2, IA-8 | Central identification and authentication | Supplies the accounts that authentication applies to |
| NIST SP 800-53 Rev 5 | AC-2, AC-2(3), PS-4 | Blocks login on disable | Account management, disabling accounts, termination actions |
| NIST SP 800-53 Rev 5 | AC-12 | Session termination via logout mechanisms | Supports through deactivation where the app ends sessions |
| NIST CSF 2.0 | PR.AA-01, PR.AA-03, PR.AA-05 | Authentication of users (PR.AA-03) | Identity and credential management, entitlement management (PR.AA-01, PR.AA-05) |
| CIS Controls v8.1 | 5.3, 6.1, 6.2, 6.7 | Centralise access control (6.7) | Access granting and revoking processes, dormant accounts (6.1, 6.2, 5.3) |
| ISO/IEC 27001:2022 Annex A | A.5.16, A.5.18, A.8.5 | Secure authentication (A.8.5) | Identity management, access rights (A.5.16, A.5.18) |
| NIST SP 800-63C | Provisioning and account termination at the RP | Federated authentication | Deprovisioning via provisioning API |
Practitioner checklist
- For each SaaS application, record SSO protocol, whether SSO is enforced, SCIM support and supported operations.
- Disable local password login for everyone except vaulted break-glass accounts, and test it.
- Test what SCIM deactivation does in each sensitive application: login, sessions, API tokens.
- Provision groups, not only users, so role changes flow through SCIM.
- Add session and token revocation as explicit leaver steps where back-channel logout or CAEP is not supported.
- Reconcile application accounts against IdP assignments on a schedule and own or remove orphans.
- Store, scope and rotate SCIM bearer tokens as privileged non-human credentials.
- Alert on application activity after HR termination and on logins with no IdP event.
- Make enforced SSO and SCIM deactivation procurement requirements for applications holding sensitive data.
Standards and references
- IETF: RFC 7644, System for Cross-domain Identity Management: Protocol
- IETF: RFC 7643, System for Cross-domain Identity Management: Core Schema
- OASIS: Profiles for the OASIS Security Assertion Markup Language (SAML) V2.0
- OpenID Foundation: OpenID Connect Back-Channel Logout 1.0
- OpenID Foundation: OpenID Continuous Access Evaluation Profile 1.0
- NIST: SP 800-63C, Federation and Assertions
- CISA: Barriers to Single Sign-On (SSO) Adoption for Small and Medium-Sized Businesses
- GSA idmanagement.gov: Enterprise Single Sign-On Playbook
Related NHI Mgmt Group resources: SCIM Provisioning Guide · How Single Sign On Works · SCIM vs JIT Provisioning · Employee Offboarding Security Guide