litellm/tests/test_litellm/proxy/management_endpoints/scim
shin-bot-litellm 31241416d4
feat: add base /scim/v2 endpoint for SCIM resource discovery (#20301)
Add the following SCIM v2 discovery endpoints per RFC 7643/7644:

- GET /scim/v2 - Base resource discovery (ListResponse of ResourceTypes)
- GET /scim/v2/ResourceTypes - List all supported resource types
- GET /scim/v2/ResourceTypes/{id} - Get a specific resource type (User/Group)
- GET /scim/v2/Schemas - List all supported schemas
- GET /scim/v2/Schemas/{uri} - Get a specific schema by URI

These endpoints are required by identity providers (Okta, Azure AD, etc.)
for SCIM resource discovery. Previously, GET /scim/v2 returned 404.

Also adds SCIMResourceType, SCIMSchema, and SCIMSchemaAttribute Pydantic
models to the SCIM types module.

Fixes #20295
2026-02-02 14:27:00 -08:00
..
test_scim_patch_user.py test scim 2025-06-18 21:42:40 -07:00
test_scim_transformations.py Fix ruff linting errors: remove unused imports and variables 2025-12-03 21:06:32 +01:00
test_scim_v2_discovery.py feat: add base /scim/v2 endpoint for SCIM resource discovery (#20301) 2026-02-02 14:27:00 -08:00
test_scim_v2_endpoints.py patching with feature flag 2026-01-09 15:07:53 -08:00