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.
- Django >=1.11
- mozilla-django-oidc
- Add
django_oidc_sub
andmozilla_django_oidc
to your installed apps. - Add
django_oidc_sub.backends.OidcSubBackend
to yourAUTHENTICATION_BACKENDS
.
tox
See LICENSE