OpenStack Identity Authentication Library
Go to file
Lance Bragstad 7d7b9564ba 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)
(cherry picked from commit 3ba2a3acf2)
2020-05-28 09:55:07 -03:00
doc add support for auth_receipts and multi-method auth 2019-08-14 11:51:28 +12:00
keystoneauth1 Inject /v3 in token path for v3 plugins 2020-05-28 09:55:07 -03:00
releasenotes Inject /v3 in token path for v3 plugins 2020-05-28 09:55:07 -03: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/train 2019-09-07 18:24:23 +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 Add Python 3 Train unit tests 2019-06-26 18:44:23 -04: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 Remove os-testr from requirements 2018-09-05 13:04:16 +02:00
requirements.txt Implement service_type alias lookups 2018-05-03 15:28:50 -05:00
setup.cfg add support for auth_receipts and multi-method auth 2019-08-14 11:51:28 +12:00
setup.py Updated from global requirements 2017-03-08 22:46:11 +00:00
test-requirements.txt Cap bandit 2019-06-19 09:35:49 -07:00
tox.ini Update TOX/UPPER_CONSTRAINTS_FILE for stable/train 2019-09-07 18:24:24 +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: