Kerberos authentication backend for Python Social Auth
Switch branches/tags
Nothing to show
Clone or download
Latest commit cc89848 Dec 10, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
social_auth_kerberos Convert into Kerberos backend for PSA Dec 10, 2018
LICENSE initial revision Mar 22, 2018
README.rst Add info about install Dec 10, 2018
setup.py Convert into Kerberos backend for PSA Dec 10, 2018

README.rst

Kerberos authentication backend for Python Social Auth

https://travis-ci.org/kiwitcms/python-social-auth-kerberos.svg?branch=master https://coveralls.io/repos/github/kiwitcms/python-social-auth-kerberos/badge.svg?branch=master

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:

Warning

USE AT YOUR OWN RISK!

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!