Skip to content

Latest commit

 

History

History
58 lines (36 loc) · 1.22 KB

README.rst

File metadata and controls

58 lines (36 loc) · 1.22 KB

Django IAP Auth

Django authentication backend for Google's Identity Aware Proxy (IAP)

Documentation

The full documentation is at https://django-iap-auth.readthedocs.io.

Quickstart

Install Django IAP Auth:

pip install django-iap-auth

To use the auth backend, add 'django_iap_auth.backend.IAPBackend' to AUTHENTICATION_BACKENDS.

AUTHENTICATION_BACKENDS = [
    'django_iap_auth.backend.IAPBackend',
]

To use the iap auto login middleware, add 'django_iap_auth.middleware.IapUserLoginMiddleware' to MIDDLEWARE.

MIDDLEWARE = [
    ...
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django_iap_auth.middleware.IapUserLoginMiddleware',
    ...
]

Features

  • TODO

Credits

Tools used in rendering this package: