<?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 Working with Identity Manager in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/working-with-identity-manager/m-p/380656#M35340</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to configure the Identity Manager Sample to work with one of my secured services. The service and the html page are both on our server (different machine) and I am trying to access it from my desktop. When I click the OK button in the SignIn form, after I provide the user login/password, I get an error in FireBug: 500 Internal Server Error. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I noticed that the 2nd part of the POST url uses the server name rather then the IP address. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1st part - correct: POST &lt;/SPAN&gt;&lt;A href="http://serverIP/foldername/proxyfolder/proxy.ashx?"&gt;http://serverIP/foldername/proxyfolder/proxy.ashx?&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;2nd part - problematic: &lt;/SPAN&gt;&lt;A href="https://serverName/intanceName/tokens"&gt;https://serverName/intanceName/tokens&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would rather it uses the IP address and not the servername as I can not access the server using it's name. Only IP works. I was trying to change the &amp;lt;ServerMachines&amp;gt;,&amp;lt;Machine&amp;gt;,&amp;lt;Name&amp;gt; entry in the server.dat file to be the IP address and also run the post install again but, none worked and I kept getting the serverName again and again. I also tried to change the TokenServiceURL entry in the tokens web.config (C:\inetpub\wwwroot\instancename\Tokens) but, it ignored that as well. I am not even sure where is the 2nd part of the url is being read from. None of the changes seems to have any affect. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I take the 2nd part of the url and try to run it in a browser using the IP: &lt;/SPAN&gt;&lt;A href="https://serverIP/intanceName/tokens"&gt;https://serverIP/intanceName/tokens&lt;/A&gt;&lt;SPAN&gt; --&amp;gt; I do get the html of the token service. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anybody has any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Feb 2012 19:26:29 GMT</pubDate>
    <dc:creator>GabrielaLaird</dc:creator>
    <dc:date>2012-02-06T19:26:29Z</dc:date>
    <item>
      <title>Working with Identity Manager</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/working-with-identity-manager/m-p/380656#M35340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to configure the Identity Manager Sample to work with one of my secured services. The service and the html page are both on our server (different machine) and I am trying to access it from my desktop. When I click the OK button in the SignIn form, after I provide the user login/password, I get an error in FireBug: 500 Internal Server Error. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I noticed that the 2nd part of the POST url uses the server name rather then the IP address. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1st part - correct: POST &lt;/SPAN&gt;&lt;A href="http://serverIP/foldername/proxyfolder/proxy.ashx?"&gt;http://serverIP/foldername/proxyfolder/proxy.ashx?&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;2nd part - problematic: &lt;/SPAN&gt;&lt;A href="https://serverName/intanceName/tokens"&gt;https://serverName/intanceName/tokens&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would rather it uses the IP address and not the servername as I can not access the server using it's name. Only IP works. I was trying to change the &amp;lt;ServerMachines&amp;gt;,&amp;lt;Machine&amp;gt;,&amp;lt;Name&amp;gt; entry in the server.dat file to be the IP address and also run the post install again but, none worked and I kept getting the serverName again and again. I also tried to change the TokenServiceURL entry in the tokens web.config (C:\inetpub\wwwroot\instancename\Tokens) but, it ignored that as well. I am not even sure where is the 2nd part of the url is being read from. None of the changes seems to have any affect. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I take the 2nd part of the url and try to run it in a browser using the IP: &lt;/SPAN&gt;&lt;A href="https://serverIP/intanceName/tokens"&gt;https://serverIP/intanceName/tokens&lt;/A&gt;&lt;SPAN&gt; --&amp;gt; I do get the html of the token service. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anybody has any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2012 19:26:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/working-with-identity-manager/m-p/380656#M35340</guid>
      <dc:creator>GabrielaLaird</dc:creator>
      <dc:date>2012-02-06T19:26:29Z</dc:date>
    </item>
  </channel>
</rss>

