<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Login prompt appearing after trying to encrypt the proxy.config file in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/login-prompt-appearing-after-trying-to-encrypt-the/m-p/303586#M27883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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 (&lt;/P&gt;&lt;P&gt;&amp;nbsp;https://community.esri.com/thread/29857). But after I made the code changes, I started seeing the prompt for the provisional layers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;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.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;I would greatly appreciate it if anyone could give me some suggestions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Many thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;- Yang&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jun 2020 18:39:49 GMT</pubDate>
    <dc:creator>YangCao</dc:creator>
    <dc:date>2020-06-09T18:39:49Z</dc:date>
    <item>
      <title>Login prompt appearing after trying to encrypt the proxy.config file</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/login-prompt-appearing-after-trying-to-encrypt-the/m-p/303586#M27883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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 (&lt;/P&gt;&lt;P&gt;&amp;nbsp;https://community.esri.com/thread/29857). But after I made the code changes, I started seeing the prompt for the provisional layers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;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.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;I would greatly appreciate it if anyone could give me some suggestions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Many thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;- Yang&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2020 18:39:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/login-prompt-appearing-after-trying-to-encrypt-the/m-p/303586#M27883</guid>
      <dc:creator>YangCao</dc:creator>
      <dc:date>2020-06-09T18:39:49Z</dc:date>
    </item>
  </channel>
</rss>

