Pythonically build SCIM requests and parse SCIM responses
Actively maintained. Last release 5 weeks ago, commits in 12 of the last 26 weeks. A safe choice.
pip install scim2-clientscim2-client
A SCIM client Python library built upon scim2-models , that pythonically build requests and parse responses, following the RFC7643 and RFC7644 specifications. You can use whatever request engine you prefer to perform network requests, but scim2-client comes with httpx2 support.
It aims to be used in SCIM client applications, or in unit tests for SCIM server applications.
What's SCIM anyway?
SCIM stands for System for Cross-domain Identity Management, and it is a provisioning protocol. Provisioning is the action of managing a set of resources across different services, usually users and groups. SCIM is often used between Identity Providers and applications in completion of standards like OAuth2 and OpenID Connect. It allows users and groups creations, modifications and deletions to be synchronized between applications.
Features
- CRUD Operations:
create,query,replace,deletemethods for SCIM resources - PATCH Support: Partial resource modifications with
add,removeandreplaceoperations - Bulk Operations: Multiple operations sent in a single request with the
bulkmethod - Server Discovery: Automatic retrieval of
ServiceProviderConfig,ResourceTypesandSchemas - Search & Filtering: Support for SCIM filters, sorting, pagination and attribute selection
- Sync & Async: Both synchronous and asynchronous clients available
- Multiple HTTP Engines: Built-in support for httpx2 (sync/async) and in-process WSGI and ASGI applications (testing), with no dependency. Adaptable to any network engine.
- Request & Response Validation: Automatic payload validation against SCIM schemas
- Error Handling: Structured exceptions for network, request and response errors