Skip to main content

A cloud.gov UAA authentication backend for Django

Project description

cg-django-uaa

This is a cloud.gov UAA authentication backend for Django. It also includes a handy "fake cloud.gov" that makes it easy to log in as any user during development.

For documentation, please visit cg-django-uaa.readthedocs.io

Developing

See https://cg-django-uaa.readthedocs.io/en/main/developing.html

Change log

All notable changes to this project will be documented in this file, which uses the format described in keepachangelog.com. This project adheres to Semantic Versioning.

Unreleased

2.1.5 - 2024-01-26

  • Update Django dependency to >=4.0,<5.0

2.1.4 - 2022-08-16

2.1.3 - 2021-08-10

  • Fix packaging issue

2.1.2 - 2021-08-10

  • Added support for Django 3.2 LTS

2.1.1 - 2020-03-16

  • correctly specify django versions in setup.py
  • code formatting

2.1.0 - 2020-03-16

  • Added support for Django 3.0 and 3.1
  • Pinned upper version for PyJWT to fix install issues

2.0.0 - 2019-06-24

  • Added support for Django 2.2

  • Removed support for Django 2.0 and 1.X

1.3.0 - 2017-03-22

  • Added support for Django 2.0.

  • Added the uaa_client.decorators.staff_login_required decorator and a "Fixing admin login" section to the quick start guide that documents how to use it.

1.2.0 - 2017-09-18

  • An info-level message is logged when users authenticate.

1.1.0 - 2017-06-20

  • The library no longer raises spurious ImproperlyConfigured errors during test suite runs.

  • Added an optional UAA_APPROVED_DOMAINS setting, allowing users to be auto-created if their email is from an approved list of domains. See the quick start for more details.

  • Added more documented methods to UaaBackend for easier customization. Static methods have also been converted to class methods for easier subclassing.

1.0.1 - 2017-04-20

This is a hotfix release to fix a broken pypi build.

1.0.0 - 2017-04-20

Added

  • Added support for automatic refreshing of access tokens, which is required for security. This involves adding uaa_client.middleware.UaaRefreshMiddleware to your middleware setting, after Django's session and authentication middleware. For more details, see the quick start guide.

  • The example app now supports an optional settings_local.py, so it's easy to e.g. connect to the real cloud.gov for manual testing.

0.0.1 - 2017-02-02

Initial release.

As a work of the United States Government, this project is in the public domain within the United States.

Additionally, we waive copyright and related rights in the work worldwide through the CC0 1.0 Universal public domain dedication.

CC0 1.0 Universal Summary

This is a human-readable summary of the Legal Code (read the full text).

No Copyright

The person who associated a work with this deed has dedicated the work to the public domain by waiving all of his or her rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law.

You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Other Information

In no way are the patent or trademark rights of any person affected by CC0, nor are the rights that other persons may have in the work or in how the work is used, such as publicity or privacy rights.

Unless expressly stated otherwise, the person who associated a work with this deed makes no warranties about the work, and disclaims liability for all uses of the work, to the fullest extent permitted by applicable law. When using or citing the work, you should not imply endorsement by the author or the affirmer.

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

cg-django-uaa-2.1.5.tar.gz (3.5 MB view hashes)

Uploaded Source

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