Fix session when user is not in default domain

Use the project_domain_name value returned by the
context instead of using a static value from the
qinling.conf configuration file.

Change-Id: Ic5943bc83e6aadd27d094e28bb60439ca2dbedbd
Story: 2005802
Task: 33537
This commit is contained in:
Gaetan Trellu 2019-05-30 14:02:14 -04:00
parent 497feadf0e
commit 02b957f92e
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ def _get_user_keystone_session():
auth = v3.Token(
auth_url=CONF.keystone_authtoken.www_authenticate_uri,
token=ctx.auth_token,
project_domain_name=CONF.keystone_authtoken.project_domain_name,
project_domain_name=ctx.project_domain_name,
project_name=ctx.project_name
)