Kerberos authentication backend for Python Social Auth
Project description
Introduction
This package provides Kerberos backend for Python Social Auth. It can be used to enable passwordless authentication inside a Django app or any other application that supports Python Social Auth. This is a pure Python implementation which doesn’t depend on Apache mod_auth_kerb.
To install:
pip install social-auth-kerberos
Then configure PSA and add the following settings:
AUTHENTICATION_BACKENDS = [ 'social_auth_kerberos.backend.KerberosAuth', 'django.contrib.auth.backends.ModelBackend', ] SOCIAL_AUTH_KRB5_KEYTAB = '/tmp/your-application.keytab'
For more information about Kerberos see:
Changelog
v0.2.3 (22 Mar 2020)
Keep a reference to current user before checking anything else. Resolves a crash for clients which know that the server is Kerberos enabled and directly send the Authorization header
Be more tolerant to authorization request headers which don’t match RFC-4459, section 4.2
v0.2.2 (10 Nov 2019)
Pin license version to GPLv2 for Tidelift
v0.2.1 (10 Dec 2018)
Initial release
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
File details
Details for the file
social-auth-kerberos-0.2.3.tar.gz
.File metadata
File hashes
d2e5f62c00ec1e43c981a02d1d09c8179afca937f80af733c9d6dd1a2ca474f7
ff1154f185addf5c974a270c3f9bb003
d10bbf9c526dedd854a4dbd529d2f5be1692cdd62f12d767a4449dae7279899c
See more details on using hashes here.