Skip to content

spennymac/django-iap-auth

Repository files navigation

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:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages