OpenStack Identity (Keystone)
Go to file
Julien Danjou 40c3942c12 wsgi: fix base_url finding
The current wsgi.Application.base_url() function does not work correctly
if Keystone runs on something like "http://1.2.3.4/identity" which is now
a default in devstack.

This patch fixes that by using wsgiref.util to parse environment
variable set in WSGI mode to find the real base url and returns the
correct URL. The following environment variables will be used to
produce the effective base url:

  HTTP_HOST
  SERVER_NAME
  SERVER_PORT
  SCRIPT_NAME

Closes-Bug: #1381961
Change-Id: I111c206a8a751ed117c6869f55f8236b29ab88a2
2016-02-16 22:48:08 +00:00
config-generator switch to oslo.cache 2015-10-15 11:10:34 -04:00
doc Deprecate Saml2 auth plugin 2016-02-10 14:41:01 +01:00
etc Updating sample configuration file 2016-02-16 08:24:42 +00:00
examples/pki Correct bashate issues in gen_pki.sh 2015-10-20 10:40:10 -05:00
httpd Merge "Document httpd for accept on /identity, /identity_admin" 2015-10-08 05:09:18 +00:00
keystone wsgi: fix base_url finding 2016-02-16 22:48:08 +00:00
rally-jobs [rally] remove deprecated arg 2015-10-29 16:34:58 +02:00
releasenotes Allow project_id in catalog substitutions 2016-02-15 10:55:23 -06:00
tools Stop using nose as a Python3 test runner 2016-02-11 06:40:24 +00:00
.coveragerc Change ignore-errors to ignore_errors 2015-09-21 14:27:58 +00:00
.gitignore include sample config file in docs 2016-02-08 16:40:58 -05:00
.gitreview Add .gitreview config file for gerrit. 2011-10-24 14:48:03 -04:00
.mailmap update mailmap with gyee's new email 2015-11-03 16:12:01 -08:00
.testr.conf Move existing tests to unit 2015-02-13 15:54:29 -06:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2015-05-16 14:55:07 +00:00
HACKING.rst Use oslo.log instead of incubator 2015-02-14 05:34:52 +00:00
LICENSE Added Apache 2.0 License information. 2012-02-15 17:48:33 -08:00
MANIFEST.in Update MANIFEST.in 2015-06-28 11:01:35 -05:00
README.rst Replace github reference by git.openstack.org and change a doc link 2015-05-07 10:08:10 +08:00
babel.cfg setting up babel for i18n work 2012-06-21 18:03:09 -07:00
bandit.yaml Enable bandit tests 2016-01-26 16:32:27 -06:00
requirements.txt Updated from global requirements 2016-02-10 21:54:05 +00:00
setup.cfg Update the home page 2016-02-05 17:30:36 +08:00
setup.py Updated from global requirements 2015-09-17 12:12:39 +00:00
test-requirements.txt Merge "Stop using nose as a Python3 test runner" 2016-02-11 23:03:15 +00:00
tests-py3-blacklist.txt Enables token_data_helper tests for Python3 2016-02-11 06:40:35 +00:00
tox.ini Stop using nose as a Python3 test runner 2016-02-11 06:40:24 +00:00

README.rst

OpenStack Keystone

Keystone provides authentication, authorization and service discovery mechanisms via HTTP primarily for use by projects in the OpenStack family. It is most commonly deployed as an HTTP interface to existing identity systems, such as LDAP.

Developer documentation, the source of which is in doc/source/, is published at:

http://docs.openstack.org/developer/keystone/

The API specification and documentation are available at:

http://specs.openstack.org/openstack/keystone-specs/

The canonical client library is available at:

https://git.openstack.org/cgit/openstack/python-keystoneclient

Documentation for cloud administrators is available at:

http://docs.openstack.org/

The source of documentation for cloud administrators is available at:

https://git.openstack.org/cgit/openstack/openstack-manuals

Information about our team meeting is available at:

https://wiki.openstack.org/wiki/Meetings/KeystoneMeeting

Bugs and feature requests are tracked on Launchpad at:

https://bugs.launchpad.net/keystone

Future design work is tracked at:

http://specs.openstack.org/openstack/keystone-specs/#identity-program-specifications

Contributors are encouraged to join IRC (#openstack-keystone on freenode):

https://wiki.openstack.org/wiki/IRC

For information on contributing to Keystone, see CONTRIBUTING.rst.