<?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 Re: What event triggers the IdentityManager ChallengeMethod? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/what-event-triggers-the-identitymanager/m-p/695586#M17866</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I forgot to mention that you can choose any referer with WPF only.&lt;/P&gt;&lt;P&gt;With Silverlight, the referer is automatically set by the browser http stack and you have to generate tokens for a substring of this referer (generally your application URL but depending on the browser).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp; IdentityManager.Current.TokenGenerationReferer = "http";&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Oct 2014 06:41:37 GMT</pubDate>
    <dc:creator>DominiqueBroux</dc:creator>
    <dc:date>2014-10-07T06:41:37Z</dc:date>
    <item>
      <title>What event triggers the IdentityManager ChallengeMethod?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/what-event-triggers-the-identitymanager/m-p/695584#M17864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using IdentityManager to authenticate a layer from ArcGIS Online, which is working great.&amp;nbsp; I also have several layers, Tiled, Dynamic, and Feature layers, that are coming from other servers that do not need authentication.&amp;nbsp; I am using the SignInDialogWithTemplate example and the SignIn dialog keeps reappearing (about 20 times) even after a token is retrieved.&amp;nbsp; Upon running clicking the 'OK' button in a SignIn dialog, the dialog collapses, then comes back (because it is running the 'Challenge' function again).&amp;nbsp; &lt;/P&gt;&lt;P&gt;Does anyone know the event that triggers the IdentityManager Challenge method?&amp;nbsp; &lt;/P&gt;&lt;P&gt;Thanks much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 15:34:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/what-event-triggers-the-identitymanager/m-p/695584#M17864</guid>
      <dc:creator>MarcusHarner</dc:creator>
      <dc:date>2014-10-02T15:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: What event triggers the IdentityManager ChallengeMethod?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/what-event-triggers-the-identitymanager/m-p/695585#M17865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's likely a referer issue because some services deny access when the referer is not set.&lt;/P&gt;&lt;P&gt;Try setting a default referer that will be used by all requests and by the token generation.&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; IdentityManager.Current.DefaultReferer = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://arcgis.com" rel="nofollow" target="_blank"&gt;http://arcgis.com&lt;/A&gt;&lt;SPAN&gt;"; // or whatever you want to use as referer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 06:33:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/what-event-triggers-the-identitymanager/m-p/695585#M17865</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2014-10-07T06:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: What event triggers the IdentityManager ChallengeMethod?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/what-event-triggers-the-identitymanager/m-p/695586#M17866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I forgot to mention that you can choose any referer with WPF only.&lt;/P&gt;&lt;P&gt;With Silverlight, the referer is automatically set by the browser http stack and you have to generate tokens for a substring of this referer (generally your application URL but depending on the browser).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp; IdentityManager.Current.TokenGenerationReferer = "http";&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 06:41:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/what-event-triggers-the-identitymanager/m-p/695586#M17866</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2014-10-07T06:41:37Z</dc:date>
    </item>
  </channel>
</rss>

