TECHNOLOGY

LiteLLM SCIM deactivation no longer stops on an unmapped group

In this article
THE QUICK TAKE

Combine deactivation with an unmapped group in SCIM acceptance tests, then verify key rejection and returned membership; HTTP success alone cannot prove offboarding.

LiteLLM v1.111.0-dev.4 includes a SCIM fix for PATCH or PUT requests that deactivate a user while naming a group with no matching team. The November 15 prerelease skips that unmapped group and continues the deactivation. Operators need to verify the user’s effective key access, not merely the identity provider’s successful synchronization status.

Reproduce the combined identity update

Create a synthetic active user with a harmless test key and one group that has no gateway team. Submit deactivation and group data in the same supported SCIM request. Inspect the response and stored active status. This targets the combined operation that previously failed, rather than proving only that a simple deactivation works when all group mappings happen to be complete.

Effective access is the acceptance outcome

After synchronization, use the synthetic key through the application’s real gateway entry point and assert rejection. Repeat after any relevant cache boundary or worker change. A stored inactive flag is important evidence but does not alone prove cached authorization state has stopped admitting requests. Keep the test isolated so verification never deactivates a real user or disrupts another operator’s access while checking the release behavior.

Skipped membership should not be echoed as real

Inspect returned groups and diagnostic warnings for the unmapped entry. The implementation deliberately does not claim membership that has no matching team. Preserve the source group identity for later reconciliation, but do not infer that deactivation success created the missing team. Test the normal group-push path separately once a mapping exists. Identity state and organizational provisioning remain related but distinct pieces of the integration.

Other roster failures still need an error path

The PR limits the no-op treatment to groups without team rows and discusses remaining roster-write failure behavior. Include a controlled non-mapping failure and verify the application handles its error without assuming complete rollback. This is a targeted interoperability correction, not a universal atomicity guarantee for every SCIM change. A reviewable offboarding result shows deactivation, rejected key use and an explained membership outcome for the same synthetic user.

Sources

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles