<?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 JS App requires authentication every tab open in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-app-requires-authentication-every-tab-open/m-p/1504884#M85025</link>
    <description>&lt;P&gt;Hi, we have created a JS web app with the 4.x JS SDK. The app works great, however, we are prompted to log in every time the app loads in a new browser tab, even if we just authenticated in another open tab.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In an Enterprise Portal app, once you authenticate, you can open any number of tabs and apps without authenticating again. We would like the JS app to replicate this behavior.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have any idea why it's prompting so much or how to resolve the issue? The only thing the app does regarding authentication is register the oauth info (below). The server services and the app are hosted on the same domain/server.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;esriConfig.portalUrl = oauth_portal_url&lt;BR /&gt;const info = new OAuthInfo({&lt;BR /&gt;appId: oauth_app_id,&lt;BR /&gt;portalUrl: oauth_portal_url,&lt;BR /&gt;popup: false&lt;BR /&gt;});&lt;BR /&gt;esriId.registerOAuthInfos([info]);&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jul 2024 16:15:59 GMT</pubDate>
    <dc:creator>4andy</dc:creator>
    <dc:date>2024-07-12T16:15:59Z</dc:date>
    <item>
      <title>JS App requires authentication every tab open</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-app-requires-authentication-every-tab-open/m-p/1504884#M85025</link>
      <description>&lt;P&gt;Hi, we have created a JS web app with the 4.x JS SDK. The app works great, however, we are prompted to log in every time the app loads in a new browser tab, even if we just authenticated in another open tab.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In an Enterprise Portal app, once you authenticate, you can open any number of tabs and apps without authenticating again. We would like the JS app to replicate this behavior.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have any idea why it's prompting so much or how to resolve the issue? The only thing the app does regarding authentication is register the oauth info (below). The server services and the app are hosted on the same domain/server.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;esriConfig.portalUrl = oauth_portal_url&lt;BR /&gt;const info = new OAuthInfo({&lt;BR /&gt;appId: oauth_app_id,&lt;BR /&gt;portalUrl: oauth_portal_url,&lt;BR /&gt;popup: false&lt;BR /&gt;});&lt;BR /&gt;esriId.registerOAuthInfos([info]);&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 16:15:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-app-requires-authentication-every-tab-open/m-p/1504884#M85025</guid>
      <dc:creator>4andy</dc:creator>
      <dc:date>2024-07-12T16:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: JS App requires authentication every tab open</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-app-requires-authentication-every-tab-open/m-p/1505060#M85031</link>
      <description>&lt;P&gt;We're seeing some similar issues with being logged out after 15-20 minutes just starting today. We're working on updating to the latest JS SDK version as well as updating our API tokens, but the issues we're seeing also include some extreme slowness in loading feature service layers lists as well as displaying the layers themselves on a map. The snapping tools seem to be unable to retrieve the correct list of layers as well.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 21:05:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-app-requires-authentication-every-tab-open/m-p/1505060#M85031</guid>
      <dc:creator>FulcrumAdmin</dc:creator>
      <dc:date>2024-07-12T21:05:19Z</dc:date>
    </item>
  </channel>
</rss>

