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.0

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.0
File Size Uploaded
scim2_flask-0.1.0.tar.gz 9.8 kB Details

Built distribution (wheel)

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

Total release size: 19.8 kB

Release files / scim2_flask-0.1.0.tar.gz

Download URL scim2_flask-0.1.0.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5333b4758e8140e06cc9c8b294fd12968e0b4392f138013db33d290bbbe7dcd1
BLAKE2b-256 checksum
How to use checksums
28d0a5123ea08d648771e0e7a30d956e2987cbc65365880d5e3a4c2a124a56d1
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 6, 2026.

Transparency log

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

Download URL scim2_flask-0.1.0-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
94f78855eed33deb09c3f9083cf62f50cae83438bde8825690d4d291c5ac3271
BLAKE2b-256 checksum
How to use checksums
d0f42c8d040b087d87572c6566d6a6b2dd89eeb2836600a7e25a45f6217cda2b
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 6, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.1

2 release files

This release

0.1.0 This release

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