Get service catalog from token info
Closes-Bug: #1634090 Change-Id: I661bdbc4c70b17523d156eedc33aef32ddacf84f
This commit is contained in:
parent
502e203ce3
commit
b766e0dcda
|
@ -118,6 +118,9 @@ def context_from_headers_and_env(headers, env):
|
|||
|
||||
token_info = env.get('keystone.token_info')
|
||||
|
||||
if token_info and target_service_catalog is None:
|
||||
target_service_catalog = token_info['token']
|
||||
|
||||
return MistralContext(
|
||||
auth_uri=auth_uri,
|
||||
auth_cacert=auth_cacert,
|
||||
|
|
Loading…
Reference in New Issue