RETIRED, A Django authentication backend for use with the OpenStack Keystone Identity backend.
Go to file
Colleen Murphy 1fa9ae26cc Don't add required attribute to html form fields
In Django 1.10 a new Form property was introduced, defaulting to True,
which enabled HTML form validation for fields marked "required" in
Django. This changed old behavior, which was that required fields were
only validated server-side. This patch restores old behavior by setting
use_required_attribute to False for the inherited AuthenticationForm.

This problem arose because when WebSSO is enabled and a
non-keystone-credentials authentication method is selected from the
dropdown list, the now-hidden username and password fields are still
marked "required" and still validated client-side, even though they are
invisible to the user and cannot be filled in. It would be nice to fix
the javascript to properly turn the "required" attribute on or off
depending on what authentication method is selected and whether the
"required" fields are even visible, but for now this just restores the
behavior we had before Djanto 1.10.

Change-Id: I3e798a2288d9c33396b40a86b07ea8c163d3b525
Closes-bug: #1703109
2017-11-02 18:19:09 +01:00
doc/source Add support for policy directories per service 2017-08-17 12:23:31 -04:00
openstack_auth Don't add required attribute to html form fields 2017-11-02 18:19:09 +01:00
tools Add Constraints support 2016-12-20 16:01:27 +11:00
.gitignore Fix the path of build docs in .gitignore 2015-09-22 11:33:17 +00:00
.gitreview Add OpenStack .gitreview file 2013-07-17 11:22:38 -07:00
.mailmap Align with OpenStack project standards 2013-09-10 16:58:11 -05:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-15 20:49:41 +00:00
LICENSE Align with OpenStack project standards 2013-09-10 16:58:11 -05:00
MANIFEST.in Align with OpenStack project standards 2013-09-10 16:58:11 -05:00
README.rst Show team and repo badges on README 2016-11-25 14:13:11 +01:00
babel-django.cfg Update translation setup 2016-01-31 00:10:47 +09:00
requirements.txt Updated from global requirements 2017-09-11 21:35:44 +00:00
setup.cfg Cleanup doc warnings and enforce warning-is-error in sphinx 2017-03-24 23:05:56 +09:00
setup.py Updated from global requirements 2017-03-02 22:03:15 +00:00
test-requirements.txt Updated from global requirements 2017-09-20 22:18:46 +00:00
tox.ini hacking: Drop import_exceptions from tox.ini 2017-07-08 23:19:23 +00:00

README.rst

Team and repository tags

image

Django OpenStack Auth

Django OpenStack Auth is a pluggable Django authentication backend that works with Django's contrib.auth framework to authenticate a user against OpenStack's Keystone Identity API.

The current version is designed to work with the Keystone v2.0 and v3 API.

You can view the installation instructions on Read The Docs.