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.4.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: django-oidc-user-0.3.4.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for django-oidc-user-0.3.4.tar.gz
Algorithm Hash digest
SHA256 41ba9248e30386171743678a46a60a7f919284fe387f184dcf940170eb8f436f
MD5 3e0c1ce2f0c0f80d1d3da58208f2f733
BLAKE2b-256 93f308b687a1ccae4eae35d1dbadb25531dc432b02a627726363fd6cd4b8e352

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_oidc_user-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for django_oidc_user-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 19fc637072edfce36966b5249ea2947fd627c0ce42f994c1d56cca76342456bc
MD5 7da28f8e5461b9ac51f40b797968df6f
BLAKE2b-256 64da9ee7e1fbece254d85d2e472bc103c038b4ca706761b3219c17b4efaab1bc

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