<?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 Problem with IdentityManager sample script? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-identitymanager-sample-script/m-p/249946#M23166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to learn about secure layers with a token so I'm checking out the &lt;/SPAN&gt;&lt;A href="http://developers.arcgis.com/en/javascript/samples/widget_identitymanager/"&gt;IdentityManager sample&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Either I don't get it, or the sample is broken. Whether or not I enter a valid password, I see the same layers (you need to zoom out/pan right to see the polygons, which I presume are from the "secure" layer).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The source shows the layer &lt;/SPAN&gt;&lt;A href="https://servicesbeta.esri.com/ArcGIS/rest/services/SanJuan/TrailConditions/FeatureServer/0"&gt;https://servicesbeta.esri.com/ArcGIS/rest/services/SanJuan/TrailConditions/FeatureServer/0&lt;/A&gt;&lt;SPAN&gt; - entering a valid password shows "invalid URL" since this service doesn't exist.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It appears the correct path is &lt;/SPAN&gt;&lt;A href="https://servicesbeta.esri.com/ArcGIS/rest/services/SanJuan/Trails/MapServer"&gt;https://servicesbeta.esri.com/ArcGIS/rest/services/SanJuan/Trails/MapServer&lt;/A&gt;&lt;SPAN&gt; - I can't see anything in the REST API which shows whether or not these layers are secured and therefore require a login.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, the sample seems to be broken - unless I'm missing something.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Aug 2013 10:11:45 GMT</pubDate>
    <dc:creator>StephenLead</dc:creator>
    <dc:date>2013-08-27T10:11:45Z</dc:date>
    <item>
      <title>Problem with IdentityManager sample script?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-identitymanager-sample-script/m-p/249946#M23166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to learn about secure layers with a token so I'm checking out the &lt;/SPAN&gt;&lt;A href="http://developers.arcgis.com/en/javascript/samples/widget_identitymanager/"&gt;IdentityManager sample&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Either I don't get it, or the sample is broken. Whether or not I enter a valid password, I see the same layers (you need to zoom out/pan right to see the polygons, which I presume are from the "secure" layer).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The source shows the layer &lt;/SPAN&gt;&lt;A href="https://servicesbeta.esri.com/ArcGIS/rest/services/SanJuan/TrailConditions/FeatureServer/0"&gt;https://servicesbeta.esri.com/ArcGIS/rest/services/SanJuan/TrailConditions/FeatureServer/0&lt;/A&gt;&lt;SPAN&gt; - entering a valid password shows "invalid URL" since this service doesn't exist.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It appears the correct path is &lt;/SPAN&gt;&lt;A href="https://servicesbeta.esri.com/ArcGIS/rest/services/SanJuan/Trails/MapServer"&gt;https://servicesbeta.esri.com/ArcGIS/rest/services/SanJuan/Trails/MapServer&lt;/A&gt;&lt;SPAN&gt; - I can't see anything in the REST API which shows whether or not these layers are secured and therefore require a login.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, the sample seems to be broken - unless I'm missing something.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2013 10:11:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-identitymanager-sample-script/m-p/249946#M23166</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2013-08-27T10:11:45Z</dc:date>
    </item>
  </channel>
</rss>

