Skip to main content

Kerberos authentication backend for Python Social Auth

Project description


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:


SOCIAL_AUTH_KRB5_KEYTAB = '/tmp/your-application.keytab'

For more information about Kerberos see:



This module has been tested manually with Kiwi TCMS. Automated tests do not exist because we can’t quite figure out how to use gssapi-console as part of unit tests! If you do figure it out a pull request will be greatly appreciated!


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.

Files for social-auth-kerberos, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size social_auth_kerberos-0.2.2-py3-none-any.whl (5.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size social-auth-kerberos-0.2.2.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page