<?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: IdentityManager in 4.6 is broken? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identitymanager-in-4-6-is-broken/m-p/306543#M28129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I scanned the docs, looked for new sample code, etc.  I didn’t find an equivalent sample for the 4.6 API so that’s when I opted to port the old sample over.  First, I compared the classes and methods and determined they have not changed as far as I can tell.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Feb 2018 17:04:05 GMT</pubDate>
    <dc:creator>BrianJohnston4</dc:creator>
    <dc:date>2018-02-15T17:04:05Z</dc:date>
    <item>
      <title>IdentityManager in 4.6 is broken?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identitymanager-in-4-6-is-broken/m-p/306541#M28127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I grabbed the basic oath sample for the&amp;nbsp;3.23 API from here: &lt;A href="https://developers.arcgis.com/javascript/3/jssamples/portal_oauth_inline.html"&gt;https://developers.arcgis.com/javascript/3/jssamples/portal_oauth_inline.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;set the portal url to our internal Portal for ArcGIS and it worked.&amp;nbsp;&amp;nbsp; Next, I upgraded it to the 4.6 API and now it no longer works.&amp;nbsp; I get no errors in the console, it does redirect to the oath page and allow me to login, but it just does not reload the page afterwards.&amp;nbsp; I tried both inline and popup, same result.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 16:25:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identitymanager-in-4-6-is-broken/m-p/306541#M28127</guid>
      <dc:creator>BrianJohnston4</dc:creator>
      <dc:date>2018-02-15T16:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: IdentityManager in 4.6 is broken?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identitymanager-in-4-6-is-broken/m-p/306542#M28128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brain,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Have you looked at the 4.x docs for the IdentityManager class?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-identity-IdentityManager.html" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-identity-IdentityManager.html"&gt;IdentityManager | API Reference | ArcGIS API for JavaScript 4.6&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Most code/sample do not work by just changing the api version (a lot has changed between the two).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 16:39:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identitymanager-in-4-6-is-broken/m-p/306542#M28128</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-02-15T16:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: IdentityManager in 4.6 is broken?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identitymanager-in-4-6-is-broken/m-p/306543#M28129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I scanned the docs, looked for new sample code, etc.  I didn’t find an equivalent sample for the 4.6 API so that’s when I opted to port the old sample over.  First, I compared the classes and methods and determined they have not changed as far as I can tell.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 17:04:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identitymanager-in-4-6-is-broken/m-p/306543#M28129</guid>
      <dc:creator>BrianJohnston4</dc:creator>
      <dc:date>2018-02-15T17:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: IdentityManager in 4.6 is broken?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identitymanager-in-4-6-is-broken/m-p/306544#M28130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's the &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/identity-oauth-basic/index.html"&gt;4.6 OAuth Sample&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try that sample and see if your problem persists?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 18:51:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identitymanager-in-4-6-is-broken/m-p/306544#M28130</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2018-02-15T18:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: IdentityManager in 4.6 is broken?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identitymanager-in-4-6-is-broken/m-p/306545#M28131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be pretty helpful to put a link to this sample in the IdentifyManager and OAuthInfo classes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 19:21:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identitymanager-in-4-6-is-broken/m-p/306545#M28131</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2018-02-15T19:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: IdentityManager in 4.6 is broken?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identitymanager-in-4-6-is-broken/m-p/306546#M28132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rene,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for finding the sample for 4.6. I downloaded it, pointed it to my Portal and did get a slightly different outcome. It does let me login to the oath page, but then the page background turns grey and small dialog box prompt me to login again. The identity manager never redirects back to the web page like it should. Another clue is I can see the get request from the IdentityManager going to the server and it looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2F%5Bourportal%5D%2Farcgis%2Fsharing%2Frest%3Ff%3Djson%26token%3D%5Blong" rel="nofollow" target="_blank"&gt;https://[ourportal]/arcgis/sharing/rest?f=json&amp;amp;token=[long&lt;/A&gt;&lt;SPAN&gt; token string]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The response to the request is http 200 with this in the body:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{"currentVersion":"5.1"}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 19:48:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identitymanager-in-4-6-is-broken/m-p/306546#M28132</guid>
      <dc:creator>BrianJohnston4</dc:creator>
      <dc:date>2018-02-15T19:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: IdentityManager in 4.6 is broken?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identitymanager-in-4-6-is-broken/m-p/306547#M28133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you change the appId value? You'll have to set one up for your application. &lt;A class="link-titled" href="https://developers.arcgis.com/documentation/core-concepts/security-and-authentication/accessing-arcgis-online-services/" title="https://developers.arcgis.com/documentation/core-concepts/security-and-authentication/accessing-arcgis-online-services/"&gt;Implementing App Login | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 20:42:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identitymanager-in-4-6-is-broken/m-p/306547#M28133</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2018-02-15T20:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: IdentityManager in 4.6 is broken?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identitymanager-in-4-6-is-broken/m-p/306548#M28134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ken,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I did.  The  appID and portal url work fine with the 3.23 sample.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 20:45:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identitymanager-in-4-6-is-broken/m-p/306548#M28134</guid>
      <dc:creator>BrianJohnston4</dc:creator>
      <dc:date>2018-02-15T20:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: IdentityManager in 4.6 is broken?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identitymanager-in-4-6-is-broken/m-p/306549#M28135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems like this sample still points to Arcgis&amp;nbsp;Online even when you set the portalUrl. To fix this I set the&amp;nbsp;esriConfig.portalUrl =&amp;nbsp;info.portalUrl after including the esri/config module. This should make the sample point to your portal and allow you to view the items.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 19:23:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identitymanager-in-4-6-is-broken/m-p/306549#M28135</guid>
      <dc:creator>MunachisoOgbuchiekwe</dc:creator>
      <dc:date>2018-02-16T19:23:52Z</dc:date>
    </item>
  </channel>
</rss>

