Closed randomblink closed 6 years ago
IT WORKS!!!!
index.html
proxy.config
On a whim I copied the proxy rules for the APP ID and swapped out the WEBMAP ID and it works...
cool! you might just be able to use up to the content/items
to eliminate both entries.
That is correct. I used the following...
proxy.config serverUrl url="https://cityoftulsa.maps.arcgis.com/sharing/rest/content/items/" clientId="INSERT" clientSecret="INSERT" oauth2Endpoint="https://cityoftulsa.maps.arcgis.com/sharing/oauth2/" matchAll="true"
index.html urlUtils.addProxyRule({ urlPrefix: "cityoftulsa.maps.arcgis.com/sharing/rest/content/items/", proxyUrl: "http://cotgis/DotNet/proxy.ashx" });
But I included both the WEBMAP ID and the APP ID in the default.js.
I've configured the GeoForm per ALL instructions. But the proxy isn't working. The geoform is on an INTERNAL ONLY server. The AGOL Feature Layer and WebMap and Application are all shared with the Organization. I've got ClientID and ClientSecret setup in the proxy.
Nothing... it asks for sign on everytime.