OpenStack Identity Authentication Library
Go to file
Lance Bragstad ad46262148 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
2020-05-22 09:38:27 -05:00
doc Cleanup py27 support 2020-04-17 18:46:54 +02:00
keystoneauth1 Inject /v3 in token path for v3 plugins 2020-05-22 09:38:27 -05:00
releasenotes Inject /v3 in token path for v3 plugins 2020-05-22 09:38:27 -05: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 OpenDev Migration Patch 2019-04-19 19:39:37 +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 Re-add python3.5 testing 2020-04-19 10:33:33 -05:00
bindep.txt add lower-constraints job 2018-04-19 09:54:28 +02: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
lower-constraints.txt Fix hacking min version to 3.0.1 2020-05-22 09:38:27 -05:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-05-29 02:30:15 +00:00
requirements.txt Fix misspell word 2019-09-06 15:57:40 +08:00
setup.cfg Re-add python3.5 testing 2020-04-19 10:33:33 -05:00
setup.py Cleanup py27 support 2020-04-17 18:46:54 +02:00
test-requirements.txt Fix hacking min version to 3.0.1 2020-05-22 09:38:27 -05:00
tox.ini Update hacking for Python3 2020-03-31 20:11:31 +02:00

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: