Skip to main content

scim2-flask

A Flask extension serving a SCIM 2.0 server, as RFC7643 and RFC7644 define it. It is built upon scim2-server and scim2-models. The application provides the storage.

Features

  • Resource endpoints: POST, GET, PUT, PATCH and DELETE, for every resource type
  • Search: GET and POST /.search, per resource type and at the server root
  • Discovery endpoints: /ServiceProviderConfig, /ResourceTypes and /Schemas
  • Bulk operations: POST /Bulk, with bulkId references, failOnErrors, maxOperations and maxPayloadSize
  • /Me, once the application tells which resource the authenticated client stands for
  • Schema extensions, and several resource types sharing a schema
  • Conditional requests with ETags: If-Match and If-None-Match
  • SCIM error payloads for every failure

Example

from flask import Flask
from scim2_models import ScimProvider, User
from scim2_server.storage import ScimStorage

from scim2_flask import ScimServer


class MyStorage(ScimStorage):
    """Implement get, search, create, update and delete against your own storage."""

    ...


app = Flask(__name__)
ScimServer(MyStorage(), ScimProvider(models=[User]), app=app)

Installation

pip install scim2-flask

Documentation

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, alongside standards like OAuth2 and OpenID Connect. It allows users and groups creations, modifications and deletions to be synchronized between applications.

Getting help

Questions and bug reports go to the issue tracker.

Contributing

The contribution page describes how to run the tests, the style checks and the documentation build.

License

scim2-flask is released under the Apache-2.0 license.

scim2-flask belongs in a collection of SCIM tools developed by Yaal Coop, with scim2-models, scim2-client, scim2-server, scim2-tester and scim2-cli.

Metadata

Release files for scim2-flask 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scim2-flask 0.1.1
File Size Uploaded
scim2_flask-0.1.1.tar.gz 10.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for scim2-flask 0.1.1
File Interpreter ABI Platform
scim2_flask-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 20.2 kB

Release files / scim2_flask-0.1.1.tar.gz

Download URL scim2_flask-0.1.1.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c4a3a40660764127f5586ced086aea471604c7441399ca7760a237f322dfd04e
BLAKE2b-256 checksum
How to use checksums
5b0eac92ea77657bb34bfacf0a54b20fad575157eb8effa9f143ec30f69640ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.

Transparency log

Release files / scim2_flask-0.1.1-py3-none-any.whl

Download URL scim2_flask-0.1.1-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3c6e3a134599592a8268fbc9dbfa28a19d9ed192a6af3dd36cbd45e096c13983
BLAKE2b-256 checksum
How to use checksums
c571a482d0217560ecaf240a2b40451d736458de3d6886ae4c2f2797ffa9fc61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page