Skip to main content

A partial implementation of the SCIM 2.0 provider specification for use with Django.

Project description

This is a partial provider-side implementation of the SCIM 2.0 [1] specification for use in Django.

Note that currently the only supported database is Postgres.

Installation

Install with pip:

$ pip install django-scim2

Then add the django_scim app to INSTALLED_APPS in your Django’s settings:

INSTALLED_APPS = (
    ...
    'django_scim',
)

Add the necessary url patterns to your root urls.py file. Please note that the namespace is mandatory and must be named scim:

urlpatterns = [
    ...
    url(r'^scim/v2/', include('django_scim.urls', namespace='scim')),
]

Finally, add settings appropriate for you app to your settings.py file:

SCIM_SERVICE_PROVIDER = {
    'NETLOC': 'localhost',
    'AUTHENTICATION_SCHEMES': [
        {
            'type': 'oauth2',
            'name': 'OAuth 2',
            'description': 'Oauth 2 implemented with bearer token',
        },
    ],
}

Other SCIM settings can be provided but those listed above are required.

PyPI

https://pypi.python.org/pypi/django-scim2

Source

https://github.com/15five/django-scim2

Documentation

Documentation Status

http://django-scim2.readthedocs.io/

Tests

https://travis-ci.org/15five/django-scim2.svg?branch=master

https://travis-ci.org/15five/django-scim2

License

This library is released under the terms of the MIT license. Full details in LICENSE.txt file.

Extensibility

This library was forked and developed to be highly extensible. A number of adapters can be defined to control what different endpoints do to your resources. Please see the documentation for more details.

PLEASE NOTE: This app does not implement authorization and authentication. Such tasks are left for other apps such as Django OAuth Toolkit to implement.

Credits

This project was forked from https://bitbucket.org/atlassian/django_scim

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-scim2-0.2.20.tar.gz (26.8 kB view details)

Uploaded Source

Built Distribution

django_scim2-0.2.20-py2.py3-none-any.whl (36.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-scim2-0.2.20.tar.gz.

File metadata

File hashes

Hashes for django-scim2-0.2.20.tar.gz
Algorithm Hash digest
SHA256 d34f1205e555841347d12462e41a64048d37f611d0d54fb0b7bdd5d8c59b2a67
MD5 f23583dbc04810cd9fc36fe8b6b8729a
BLAKE2b-256 4e111d03e731bdd14edf97560873d7f1b8416ad7d3617eda802e203b07068c1a

See more details on using hashes here.

Provenance

File details

Details for the file django_scim2-0.2.20-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_scim2-0.2.20-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 702002f8b97ca32f3fd6d3674d80f7a91046e66cc5ed0414a5555678c991f9be
MD5 0a1bdde7d662a4790a9f2050d3288a53
BLAKE2b-256 925e10b48e138f7c375533c487038436f12fb99426513c31527bb7e7f1bbaf75

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page