DOI-BLM / requests-arcgis-auth

Authentication handler for using Esri ArcGIS for Server and Portal (ArcGIS Online) Token Authentication with Python Requests
22 stars 1 forks source link

Handle Invalid Credentials #4

Open pfoppe opened 7 years ago

pfoppe commented 7 years ago

What happens when a username/password is invalid? Its possible that every request will attempted to acquire a token (passing the invalid credentials over and over again) which could lock the users account. Setup a process to not attempt to re-acquire tokens if credentials are invalid. Possibly wait for credential changes before trying to acquire the token again (like an update to the username/password).