requests-arcgis-auth icon indicating copy to clipboard operation
requests-arcgis-auth copied to clipboard

Authentication handler for using Esri ArcGIS for Server and Portal (ArcGIS Online) Token Authentication with Python Requests

Results 20 requests-arcgis-auth issues
Sort by recently updated
recently updated
newest added

scenario - developer tries to access service protected with MS Negotiate... but Kerberos is not supported (like the SPN is not set correctly). the code tries NTLM but if there...

bug

Specifically set Kerberos Auth Hanlder in the init code not as a parameter... saml_auth = HTTPKerberosAuth(mutual_authentication = OPTIONAL)

bug

When the first request fails (for whatever reason) the _token_acquired private var is still None for the next iteration (there may be others). When making a second request an exception...

bug

Possibly remove it from the input params... just derive it from the request...

enhancement

The refresh_token is theoretically good for 2 weeks. for long running processes (think windows services) this token will need to be required at that time.

https://github.com/kennethreitz/requests/issues/4040

bug

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...

ArcGIS PRO no longer adds the NTLM authentication handlers. Remove the dependancy

Currently the token is passed as a query string parameter. Update to pass using an Authorization header. SEE - https://enterprise.arcgis.com/en/server/latest/administer/linux/accessing-arcgis-token-secured-web-services.htm