scim2-django#

scim2-django serves a SCIM 2.0 server from a Django project, as RFC 7643 and RFC 7644 define it. It exposes the resource, search, bulk and discovery endpoints. It is built upon scim2-server and scim2-models.

scim2-django serves the SCIM protocol, and stores the resources in the models of your project. Your project provides the rest:

  • a ResourceMapping for each resource type, which maps the SCIM attributes to the fields of a model;

  • a ScimProvider, which declares the resource types the server serves and the features it supports;

  • a function authenticating the clients. Without it, the server refuses every request.

This documentation addresses Python developers who build a SCIM server with Django. It assumes familiarity with Django projects. It covers what is specific to Django. The scim2-server documentation describes the storage contract, the service and the protocol rules.

pip install scim2-django

Choose a path#

Overview builds a SCIM server over the models of an existing project, step by step.

How-to guides show how to authenticate the clients, choose the URLs, serve behind a reverse proxy, limit the size of the requests and commit the changes.

Reference lists the complete public API, the URL names and the system checks.