Version: | 0.21.1 |
---|---|
Source: | https://github.com/maykinmedia/mozilla-django-oidc-db |
Keywords: | OIDC, django, database, authentication |
Database-backed settings for mozilla-django-oidc, with modified unique identifiers
Contents
- Thin layer on top of mozilla-django-oidc
- Allows configuration of OpenID Connect variables via django-solo
- Overrides mozilla-django-oidc default behaviour, using the
sub
claim instead of theemail
claim as unique identifier for users
mozilla-django-oidc-db
provides a database singleton for several configuration
variables required for mozilla-django-oidc
, moving them from deploy-time to run-time.
This enables modification of the configuration, without having to restart the application.
Additionally, mozilla-django-oidc-db
by default uses the sub
(subject) claim
instead of the email
claim as the unique identifier for users in the RP (Relying Party) application.
Using email
as the unique identifier is not recommended, as mentioned in the OpenID Connect specification.
Please see the hosted documentation for installation, configuration and usage instructions.