Login prompt appearing after trying to encrypt the proxy.config file

197
0
06-09-2020 11:39 AM
YangCao
New Contributor

To encrypt the DotNet proxy.config file (I am using the Proxy from https://github.com/Esri/resource-proxy), I followed the steps "Define "proxyUser" and "prxyPwd" with the username and password in the appSettings in web.config. Then modify the proxy.ashx file - set usrName=ConfigurationManager.AppSettings["proxyUser"] and usrPwd=ConfigurationManager.AppSettings["proxyPwd"]; Then replace in proxy.ashx wherever there is username and password with the usrName and usrPwd." in the post (

 https://community.esri.com/thread/29857). But after I made the code changes, I started seeing the prompt for the provisional layers.

 

The Provisional layer is the editable layer. The application will connect through the GIS proxy to get the username and password to go and generate a token for the session and allows the application/editor to make and save changes to the layer.

 

Instead of making a request with the proxy, the application seemed to be going directly to ArcGIS server and that is when the prompt would appear.

I would greatly appreciate it if anyone could give me some suggestions.

Many thanks,

- Yang

0 Kudos
0 Replies