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

Refactor ArcGISPortalTokenAuth to use OAuth2 #20

Open pfoppe opened 7 years ago

pfoppe commented 7 years ago

Currently the ArcGISPortalTokenAuth class uses the deprecated 'gettoken' operation to acquire the authorization token. The newer more prefered workflow is to use the OAuth2 approach to acquire the token. There are baked in limitations with the 'gettoken' that would drive this request.