<?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 Approved apps in ArcGIS Enterprise Portal in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/approved-apps-in-arcgis-enterprise-portal/m-p/1602649#M86817</link>
    <description>&lt;P&gt;I have created an app and registered it in the Enterprise Portal (version 11.1). Authentication is implemented like in the sample below .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var info = new OAuthInfo({
        appId: pConfig.appId,
        portalUrl: pConfig.domain + "portal",,
        popup: false
    });
    esriId.registerOAuthInfos([info]);

    esriId.checkSignInStatus(info.portalUrl + "/sharing").then(function (r) {
        //console.log (info.portalUrl);
		token = r.token;
        _show();
    }).catch(() =&amp;gt; {
        esriId.getCredential(info.portalUrl + "/sharing");
    });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whenever I start the application while I am in a new browser tab, a prompt appears asking me if the application is allowed to use my credentials&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="prompt.jpg" style="width: 621px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/129458i64F1BD5B2A041515/image-size/large?v=v2&amp;amp;px=999" role="button" title="prompt.jpg" alt="prompt.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the portal settings, under security, there is a section "approved apps" in which applications can be registered so that this should not occur. However, registering my app here does not appear to have any effect. Do I need to do something different?&lt;/P&gt;</description>
    <pubDate>Fri, 04 Apr 2025 08:36:10 GMT</pubDate>
    <dc:creator>BasWest</dc:creator>
    <dc:date>2025-04-04T08:36:10Z</dc:date>
    <item>
      <title>Approved apps in ArcGIS Enterprise Portal</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/approved-apps-in-arcgis-enterprise-portal/m-p/1602649#M86817</link>
      <description>&lt;P&gt;I have created an app and registered it in the Enterprise Portal (version 11.1). Authentication is implemented like in the sample below .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var info = new OAuthInfo({
        appId: pConfig.appId,
        portalUrl: pConfig.domain + "portal",,
        popup: false
    });
    esriId.registerOAuthInfos([info]);

    esriId.checkSignInStatus(info.portalUrl + "/sharing").then(function (r) {
        //console.log (info.portalUrl);
		token = r.token;
        _show();
    }).catch(() =&amp;gt; {
        esriId.getCredential(info.portalUrl + "/sharing");
    });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whenever I start the application while I am in a new browser tab, a prompt appears asking me if the application is allowed to use my credentials&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="prompt.jpg" style="width: 621px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/129458i64F1BD5B2A041515/image-size/large?v=v2&amp;amp;px=999" role="button" title="prompt.jpg" alt="prompt.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the portal settings, under security, there is a section "approved apps" in which applications can be registered so that this should not occur. However, registering my app here does not appear to have any effect. Do I need to do something different?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2025 08:36:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/approved-apps-in-arcgis-enterprise-portal/m-p/1602649#M86817</guid>
      <dc:creator>BasWest</dc:creator>
      <dc:date>2025-04-04T08:36:10Z</dc:date>
    </item>
  </channel>
</rss>

