Esri / resource-proxy

Proxy files for DotNet, Java and PHP.
Apache License 2.0
372 stars 321 forks source link

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

Closed yang-lydia-cao closed 3 years ago

yang-lydia-cao commented 4 years ago

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.

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you need additional assistance please contact Esri Technical Support. Thank you for your contributions.

github-actions[bot] commented 3 years ago

This issue has been automatically closed due to inactivity. If you need additional assistance please contact Esri Technical Support.