Raise AuthenticationError when login credentials missing
From the moment the AuthenticationError raises when login ENVARS are
checked, separately: in Session.py
and Client.py
. The error raises with the first individual credential missing, having not checked them all and raising with all the information of which ones are missing. We can discuss if this should be improved.
The result of this MR is showed here when trying to access pymasmovil
from an external app
(mas-movil-som-connexio-integration
in this case) without the login credentials in our local environment:
Edited by Administrator