Update auth_uri option to www_authenticate_uri

Option auth_uri from group keystone_authtoken is deprecated[1].
Use option www_authenticate_uri from group keystone_authtoken.

[1]https://review.openstack.org/#/c/508522/

Change-Id: Icbc6b3dd809e1f302d3cac9731f4845bc4df9f62
This commit is contained in:
melissaml 2018-04-18 19:23:15 +08:00
parent a2ef179412
commit d1e7f7e180
4 changed files with 6 additions and 6 deletions

View File

@ -162,7 +162,7 @@
# *not* be the same endpoint the service user utilizes for validating tokens,
# because normal end users may not be able to reach that endpoint. (string
# value)
#auth_uri = <None>
#www_authenticate_uri = <None>
# API version of the admin Identity API endpoint. (string value)
#auth_version = <None>

View File

@ -228,7 +228,7 @@ to your keystone endpoint.
auth_strategy = keystone
[keystone_authtoken]
auth_uri = http://127.0.0.1:5000
www_authenticate_uri = http://127.0.0.1:5000
project_domain_name = Default
project_name = service
user_domain_name = Default
@ -241,8 +241,8 @@ The default ``auth_strategy`` is ``noauth`` in Gluon.
Please note that:
* ``auth_uri`` is the **external** or **public** URL that ends up in the
``WWW-Authenticate: keystone-uri=<auth_uri>`` header. It is the unversioned public endpoint,
* ``www_authenticate_uri`` is the **external** or **public** URL that ends up in the
``WWW-Authenticate: keystone-uri=<www_authenticate_uri>`` header. It is the unversioned public endpoint,
which tells someone where they need to go to authenticate.
* ``auth_url`` is the **internal** URL that the **auth plugin** is using. It is
where the process will authenticate to before it authenticates tokens.

View File

@ -267,7 +267,7 @@ and enable RBAC in Gluon. Here is the summary of steps:
auth_strategy = keystone
[keystone_authtoken]
auth_uri = http://10.0.2.7:5000
www_authenticate_uri = http://10.0.2.7:5000
project_domain_name = Default
project_name = service
user_domain_name = Default

View File

@ -15,7 +15,7 @@ auth_strategy = keystone
[keystone_authtoken]
# keystone identity, change 127.0.0.1 to keystone endpoint
auth_uri = http://127.0.0.1:5000
www_authenticate_uri = http://127.0.0.1:5000
project_domain_name = Default