Skip to main content

Kerberos authentication backend for Python Social Auth

Project description

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.

First configure PSA and then 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!

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.1
Filename, size File type Python version Upload date Hashes
Filename, size social-auth-kerberos-0.2.1.tar.gz (3.3 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