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)
| File | Size | Uploaded | |
|---|---|---|---|
| django-oidc-user-0.3.6.tar.gz | 17.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|