Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

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!

Changelog

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 hashes
Filename, size social-auth-kerberos-0.2.2.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page