The client tries to authenticate even if a token is already provided to it

Bug #1699719 reported by Andras Kovi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mistralclient
New
Undecided
Unassigned

Bug Description

The client tries to authenticate even if a session or auth is already provided to it. This is problematic because it may not be possible to re-authenticate and wastes resources. The client should accept the token it is passed and as long as the connection parameters are sufficient, it should simply connect to the server and leave the token verification to the server side.

Note: other OS service clients do not re-authenticate.

Reproduce:

v2.client.Client(mistral_url=SOMEURL, session=session, auth=Token(...))

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.