Skip to main content

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

Metadata

Release files for django-oidc-user 0.3.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-oidc-user 0.3.6
File Size Uploaded
django-oidc-user-0.3.6.tar.gz 17.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-oidc-user 0.3.6
File Interpreter ABI Platform
django_oidc_user-0.3.6-py3-none-any.whl Python 3 none any Details

Total release size: 37.7 kB

Release files / django-oidc-user-0.3.6.tar.gz

Download URL django-oidc-user-0.3.6.tar.gz
Size 17.6 kB
Tags Source
SHA-256 checksum
How to use checksums
72f6703bbe1e0926da9fea295688bfdfcf4a5f44f2748d06b4b4f12eecd453d8
BLAKE2b-256 checksum
How to use checksums
6e924ce3e8496cb21fc2964678e5c091da79afbbd20b76a87a128d05d6aa95bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release files / django_oidc_user-0.3.6-py3-none-any.whl

Download URL django_oidc_user-0.3.6-py3-none-any.whl
Size 20.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c17e48e510a94d5160e048051edfff3aa81d7091519b03e94baf37275045842c
BLAKE2b-256 checksum
How to use checksums
5ed8b46d7aa0214b824ee431edef9b899ca10257a5b60e927c99331f083bc592
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release history Release notifications | RSS feed

This release

0.3.6 This release

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page