Skip to content

Database-backed settings for mozilla-django-oidc, with modified unique identifiers for users

License

Notifications You must be signed in to change notification settings

maykinmedia/mozilla-django-oidc-db

Repository files navigation

Version:0.19.0
Source:https://github.com/maykinmedia/mozilla-django-oidc-db
Keywords:OIDC, django, database, authentication

build-status Coverage status black

python-versions django-versions pypi-version

Database-backed settings for mozilla-django-oidc, with modified unique identifiers

  • 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 the email 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.

About

Database-backed settings for mozilla-django-oidc, with modified unique identifiers for users

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published