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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-oidc-user-0.3.6.tar.gz
.
File metadata
- Download URL: django-oidc-user-0.3.6.tar.gz
- Upload date:
- Size: 17.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72f6703bbe1e0926da9fea295688bfdfcf4a5f44f2748d06b4b4f12eecd453d8 |
|
MD5 | 4e73f1a91bc933ba71a4a007ad1ac1dc |
|
BLAKE2b-256 | 6e924ce3e8496cb21fc2964678e5c091da79afbbd20b76a87a128d05d6aa95bf |
File details
Details for the file django_oidc_user-0.3.6-py3-none-any.whl
.
File metadata
- Download URL: django_oidc_user-0.3.6-py3-none-any.whl
- Upload date:
- Size: 20.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c17e48e510a94d5160e048051edfff3aa81d7091519b03e94baf37275045842c |
|
MD5 | 7c4b722bd93416db7c80e6964d5f266c |
|
BLAKE2b-256 | 5ed8b46d7aa0214b824ee431edef9b899ca10257a5b60e927c99331f083bc592 |