OpenID Connect authentication support for Django
Project description
This is a Django login view that authenticates against an OpenID Connect Authentication Server.
Use it if you own a single Authentication Server that you want to share between multiple apps.
What is OpenID Connect?
It’s a OAuth2-based standard for authentication in applications.
It can be used for social logins (but python-social-auth is much better for this case), and for setting up Single Sign-On into multiple services hosted by the same company. In the last case, it somewhat supersedes LDAP, as with OIDC people are entering their credentials only into the views served by the Authentication Server, and not into all the company’s applications.
Requirements
Python 3.6+. Python 2 is not supported, and won’t ever get supported.
Django 1.10+
Installation
pip install django-auth-oidc
settings.py
INSTALLED_APPS += ['django_auth_oidc']
urls.py
urlpatterns += [
url(r'^accounts/login/', include('django_auth_oidc.urls')),
]
Configuration
App’s environment variables
OIDC_SERVER - OpenID Connect Authorization Server URL.
OIDC_CLIENT_ID - Client ID received from the Authorization Server
OIDC_CLIENT_SECRET - Client secret received from the Authorization Server
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
Hashes for django_auth_oidc-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e5bdd53a691dcb0ecfd52eafc5e63c9072333c050e7b1ebabe8cc825c14ea15 |
|
MD5 | b29404c879098104e32d58387a63ff9c |
|
BLAKE2b-256 | d73793a306887d81c661170d43dd41b9417d6641194d491486bc8fdbede8742b |