A Partial SCIM 2.0 Service Provider Implementation (for Django)
Python
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo Fix demo in python 3 Sep 22, 2017
django_scim Version Bump => 0.4.1 Jun 13, 2018
docs Move filter modules to filters Dec 16, 2016
.gitignore Add docs directory Dec 14, 2016
.travis.yml Update TravisCI config Jun 13, 2018
CHANGES.txt Version Bump => 0.4.1 Jun 13, 2018
LICENSE.txt
MANIFEST.in Update includes for source package Dec 29, 2016
README.rst Update docs Jun 13, 2018
db.sqlite3 Add data to test db Dec 13, 2016
manage.py Fix some runscope tests Dec 13, 2016
requirements.txt Support Django 2 Jun 13, 2018
scim Adding the interactive querying script to the distribution. May 6, 2014
setup.cfg
setup.py Support Django 2 Jun 13, 2018
test_settings.py Support Django 2 Jun 13, 2018
tox.ini Support Django 2 Jun 13, 2018

README.rst

django-scim2

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:

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

# Django 2+
urlpatterns = [
    ...
    path('scim/v2/', include('django_scim.urls')),
]

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

[1]http://www.simplecloud.info/, https://tools.ietf.org/html/rfc7644