ArcGIS pro refresh token
n the previous version of GCZ the Authentication mechanism was Basic Auth (means Username password) in New version of GCZ they switched the OSDU auth (means Token based auth). In Osdu auth we send Client ID and Client Secret (equivalent of credentials ) to a Token provider system ( Azure Entra or OCTA etc.) and get the Token which is valid for a lifespan (e.g. 1 hour) . In basic Auth we were able to add GCZ layers to ArcGIS online (AGOL) and ArcGIS Pro providing credentials permanently . In the new GCZ, we can add layer to AGOL and ArcGIS pro passing token as Parameter in request and add our GCZ layers to ArcGIS pro and AGOL but the layer is going to be valid (available) for the lifespan of Token:
To solve this issue for AGOL, the ESRI team in GCZ developed a Python script which refresh the token but the issue persists for ArcGIS pro:
