Skip to main content

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:

INSTALLED_APPS = [
    . . .
    'django_oidc_user',
]

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 manage.py 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.

Source Distribution

django-oidc-user-0.3.5.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

django_oidc_user-0.3.5-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file django-oidc-user-0.3.5.tar.gz.

File metadata

  • Download URL: django-oidc-user-0.3.5.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for django-oidc-user-0.3.5.tar.gz
Algorithm Hash digest
SHA256 0aebf59479403246c7cbeab846fab3246b336c3fc236e99611fc00b015db3d7d
MD5 5e8023e31d7e6bdc333b9323951312db
BLAKE2b-256 61f9caf8b205ba7557e11bff7aad2f6f56c6f13298c9d692726a181fbd5dd266

See more details on using hashes here.

File details

Details for the file django_oidc_user-0.3.5-py3-none-any.whl.

File metadata

File hashes

Hashes for django_oidc_user-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 795067ff540c3918540e173688995344707c006b8da45307f20cb86108c6adc2
MD5 943b11a3908c279ede3928befdb50a25
BLAKE2b-256 4e7615726f5c8a1c89893398bbd607735d72278e6a84bc6bff17af615c5796ea

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