Skip to content
Kerberos authentication backend for Python Social Auth
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
social_auth_kerberos
LICENSE
README.rst
setup.py

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!

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.