Skip to main content

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

  1. Add django_oidc_sub and mozilla_django_oidc to your installed apps.

  2. Add django_oidc_sub.backends.OidcSubBackend to your AUTHENTICATION_BACKENDS.

## Testing

tox

## License

See [LICENSE](LICENSE)

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

django-oidc-sub-0.1.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file django-oidc-sub-0.1.tar.gz.

File metadata

File hashes

Hashes for django-oidc-sub-0.1.tar.gz
Algorithm Hash digest
SHA256 b14f8e043cc90ce00021b26ad9776045b722fa4b73b9a445609b55ecd2db0871
MD5 bd17528ebf545e56b44627f0ad116a52
BLAKE2b-256 2af5d8d7f69ca757843dccfc152ac0b56b12b2411b0aa628cdaef78c017d39f8

See more details on using hashes here.

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