Skip to main content

Nginx SSO library for DPaW internal applications.

Project description

This project is a library of Nginx configuration to undertake single-sign-on within Department of Parks and Wildlife internal applications.

Installation (Django applications)

  1. Install via pip: pip install nginx-sso-dpaw

  2. At the end of settings.py, add the following code
    try:

    import nginx_sso.django nginx_sso.django.config(globals())

    except:

    pass

When nginx sso is disabled

  1. nginx sso app is not installed

  2. Set “SSO_ENABLED” to False in .env file

  3. The middleware “django.contrib.auth.middleware.AuthenticationMiddleware” is not configured

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

nginx-sso-dpaw-0.2rc1.tar.gz (5.1 kB view details)

Uploaded Source

File details

Details for the file nginx-sso-dpaw-0.2rc1.tar.gz.

File metadata

File hashes

Hashes for nginx-sso-dpaw-0.2rc1.tar.gz
Algorithm Hash digest
SHA256 6bfd9dd30f9a59fd00b803f01d41e64ab185d48c782243928b64ae8c5a8364bf
MD5 0c9f80b5a0c6cea03da28282dec3ba35
BLAKE2b-256 7d3def2b37d87a3a732b8b795109fd1f6a0ac8562b4098f8aa75beb61225fbd0

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