Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Creates an OpenID Connect compliant User model.

Project description

Django OpenID Connect User

An extended User model that is designed to have the majority of the attributes of what the OpenID Connect specification mentions.

How to install

Installation can be done with a single command:

$ pip install django-oidc-user

How to use

Setup in your project is easy. Just add it to your installed apps:

    . . .

And you will need to set it as your default User model, so add the following line to your settings:

AUTH_USER_MODEL = 'django_oidc_user.User'

After you have done this make sure you run migrations using the following command:

$ python migrate django_oidc_user

You can import the model to use in your views like so:

from django_oidc_user.models import User

Project details

Download files

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

Files for django-oidc-user, version 0.3.4
Filename, size File type Python version Upload date Hashes
Filename, size django_oidc_user-0.3.4-py3-none-any.whl (19.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size django-oidc-user-0.3.4.tar.gz (15.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page