Django application for OIDC user authentication
Project description
# django-oidc-sub
[![Build Status](https://travis-ci.org/tpazderka/django-oidc-sub.svg?branch=master)](https://travis-ci.org/tpazderka/django-oidc-sub) [![codecov](https://codecov.io/gh/tpazderka/django-oidc-sub/branch/master/graph/badge.svg)](https://codecov.io/gh/tpazderka/django-oidc-sub)
> Django application for login through OpenID Connect
This library provides a database model for connection between AUTH_USER_MODEL and sub claim received from provider. It also provides an authentication backend that returns appropriate User based on the received sub claim.
## Table of Contents - [Dependencies](#dependencies) - [Configuration](#configuration) - [Testint](#testing) - [License](#license)
## Dependencies
Django >=1.11
mozilla-django-oidc
## Configuration
Add django_oidc_sub and mozilla_django_oidc to your installed apps.
Add django_oidc_sub.backends.OidcSubBackend to your AUTHENTICATION_BACKENDS.
## Testing
tox
## License
See [LICENSE](LICENSE)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-oidc-sub-0.1.tar.gz
.
File metadata
- Download URL: django-oidc-sub-0.1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b14f8e043cc90ce00021b26ad9776045b722fa4b73b9a445609b55ecd2db0871 |
|
MD5 | bd17528ebf545e56b44627f0ad116a52 |
|
BLAKE2b-256 | 2af5d8d7f69ca757843dccfc152ac0b56b12b2411b0aa628cdaef78c017d39f8 |