OpenStack Identity Authentication Library
Go to file
Lance Bragstad d8d0fd49d0 Inject /v3 in token path for v3 plugins
Without this, it's possible to get HTTP 404 errors from keystone if
OS_AUTH_URL isn't versioned (e.g., https://keystone.example.com/ instead
of https://keystone.example.com/v3), even if OS_IDENTITY_API is set to
3.

This commit works around this issue by checking the AUTH_URL before
building the token_url and appending '/v3' to the URL before sending the
request.

Closes-Bug: 1876317

Change-Id: Ic75f0c9b36022b884105b87bfe05f4f8292d53b2
(cherry picked from commit ad46262148)
2020-06-19 01:41:32 +00:00
doc [ussuri][goal] Drop python 2.7 support and testing 2020-01-07 12:31:09 -05:00
keystoneauth1 Inject /v3 in token path for v3 plugins 2020-06-19 01:41:32 +00:00
releasenotes Inject /v3 in token path for v3 plugins 2020-06-19 01:41:32 +00:00
.coveragerc Update coverage to keystoneauth1 2015-12-09 11:46:00 +11:00
.gitignore Migrate to stestr 2017-09-20 15:47:15 -05:00
.gitreview Update .gitreview for stable/ussuri 2020-04-02 14:27:04 +00:00
.mailmap Add mailmap entry 2014-05-07 12:12:43 -07:00
.stestr.conf Migrate to stestr 2017-09-20 15:47:15 -05:00
.zuul.yaml [ussuri][goal] Drop python 2.7 support and testing 2020-01-07 12:31:09 -05:00
CONTRIBUTING.rst Use https for *.openstack.org references 2017-02-06 13:45:24 -08:00
HACKING.rst Migrate to stestr 2017-09-20 15:47:15 -05:00
LICENSE Initial Split of python-keystoneclient to keystoneauth 2015-04-20 14:49:59 -07:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-05-29 02:30:15 +00:00
bindep.txt add lower-constraints job 2018-04-19 09:54:28 +02:00
lower-constraints.txt Update hacking for Python3 2020-03-31 20:11:31 +02:00
requirements.txt Fix misspell word 2019-09-06 15:57:40 +08:00
setup.cfg Remove universal wheel configuration 2020-02-06 17:30:14 +00:00
setup.py Updated from global requirements 2017-03-08 22:46:11 +00:00
test-requirements.txt Update hacking for Python3 2020-03-31 20:11:31 +02:00
tox.ini Update TOX/UPPER_CONSTRAINTS_FILE for stable/ussuri 2020-04-02 14:27:05 +00:00

README.rst

Team and repository tags

image

keystoneauth

Latest Version

Downloads

This package contains tools for authenticating to an OpenStack-based cloud. These tools include:

  • Authentication plugins (password, token, and federation based)
  • Discovery mechanisms to determine API version support
  • A session that is used to maintain client settings across requests (based on the requests Python library)

Further information: