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 Tidelift Become a sponsor Kiwi TCMS on Twitter

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:

Changelog

v0.2.3 (22 Mar 2020)

  • Keep a reference to current user before checking anything else. Resolves a crash for clients which know that the server is Kerberos enabled and directly send the Authorization header

  • Be more tolerant to authorization request headers which don’t match RFC-4459, section 4.2

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.

Source Distribution

social-auth-kerberos-0.2.3.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

social_auth_kerberos-0.2.3-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file social-auth-kerberos-0.2.3.tar.gz.

File metadata

  • Download URL: social-auth-kerberos-0.2.3.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9

File hashes

Hashes for social-auth-kerberos-0.2.3.tar.gz
Algorithm Hash digest
SHA256 d2e5f62c00ec1e43c981a02d1d09c8179afca937f80af733c9d6dd1a2ca474f7
MD5 ff1154f185addf5c974a270c3f9bb003
BLAKE2b-256 d10bbf9c526dedd854a4dbd529d2f5be1692cdd62f12d767a4449dae7279899c

See more details on using hashes here.

File details

Details for the file social_auth_kerberos-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: social_auth_kerberos-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9

File hashes

Hashes for social_auth_kerberos-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b1c1a6785889648e7fbb5f6488992c71001052fe260de5316e7fd752909bf297
MD5 6ec94be8f8d31a74317d5b8c5ffd96ba
BLAKE2b-256 0b88f643e13141b85e8df68ad3f94f7ba635125dd6cb235fb057393a8ee86ed2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page