diff --git a/mistralclient/api/v2/client.py b/mistralclient/api/v2/client.py index 0e75487f..1dc5c66a 100644 --- a/mistralclient/api/v2/client.py +++ b/mistralclient/api/v2/client.py @@ -59,9 +59,10 @@ class Client(object): else: auth_response = {} - # If the session was None and we're using keystone auth, it will be - # created by the auth_handler. - session = auth_response.pop('session', None) + if session is None: + # If the session was None and we're using keystone auth, it will be + # created by the auth_handler. + session = auth_response.pop('session', None) req.update(auth_response)