<?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 AuthenticationChallenge.continueWithCredential() in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/authenticationchallenge-continuewithcredential/m-p/855486#M2906</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to supply credentials for a secure map service. I have&amp;nbsp;an ArcGISMapImageLayer on my map, and&amp;nbsp;have code&amp;nbsp;listening&amp;nbsp;to the &lt;SPAN style="color: #800080;"&gt;AuthenticationManager.&lt;SPAN style="color: #800000;"&gt;onAuthenticationChallenge&lt;/SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;signal.&lt;/P&gt;&lt;P&gt;I've gotten as far as&amp;nbsp;hearing the challenge, displaying a view for a login to portal, logging in, receiving an oAuth token and then getting an ArcGIS token.&lt;/P&gt;&lt;P&gt;My problem is, once that's all happened, and I call AuthenticationChallenge.continueWithCredential() with the new credential I create containing the token, it seems to be ignored - the layer or authentication manager doesn't seem to 'retry' loading the layer using the new token.&lt;/P&gt;&lt;P&gt;Is there anything I should be on the lookout for that I may be doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Sep 2018 23:42:26 GMT</pubDate>
    <dc:creator>MatthewSimmons1</dc:creator>
    <dc:date>2018-09-06T23:42:26Z</dc:date>
    <item>
      <title>AuthenticationChallenge.continueWithCredential()</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/authenticationchallenge-continuewithcredential/m-p/855486#M2906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to supply credentials for a secure map service. I have&amp;nbsp;an ArcGISMapImageLayer on my map, and&amp;nbsp;have code&amp;nbsp;listening&amp;nbsp;to the &lt;SPAN style="color: #800080;"&gt;AuthenticationManager.&lt;SPAN style="color: #800000;"&gt;onAuthenticationChallenge&lt;/SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;signal.&lt;/P&gt;&lt;P&gt;I've gotten as far as&amp;nbsp;hearing the challenge, displaying a view for a login to portal, logging in, receiving an oAuth token and then getting an ArcGIS token.&lt;/P&gt;&lt;P&gt;My problem is, once that's all happened, and I call AuthenticationChallenge.continueWithCredential() with the new credential I create containing the token, it seems to be ignored - the layer or authentication manager doesn't seem to 'retry' loading the layer using the new token.&lt;/P&gt;&lt;P&gt;Is there anything I should be on the lookout for that I may be doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2018 23:42:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/authenticationchallenge-continuewithcredential/m-p/855486#M2906</guid>
      <dc:creator>MatthewSimmons1</dc:creator>
      <dc:date>2018-09-06T23:42:26Z</dc:date>
    </item>
  </channel>
</rss>

