<?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 Portal.authMode Not Effective When Set to Anonymous in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/portal-authmode-not-effective-when-set-to/m-p/1550336#M85916</link>
    <description>&lt;P&gt;Hi Everyone!&lt;/P&gt;&lt;P&gt;According to the documentation (&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-Portal.html#authMode" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-Portal.html#authMode&lt;/A&gt;), when Portal.authMode is set to anonymous, an error will be returned when a secure resource is requested. However, during my testing, even when setting Portal.authMode to anonymous, a login window still appears, prompting the user to enter their credentials. This behavior is indistinguishable from the auto mode (The user will be signed in when a secure resource is requested.).&lt;/P&gt;&lt;P&gt;I would like to know if this is an API bug or if I am using it incorrectly. I have created a demo to replicate this issue, which adds a service that requires authentication. You can find the demo here: &lt;A href="https://codepen.io/xiej/pen/VwozrRr?editors=1000" target="_blank"&gt;https://codepen.io/xiej/pen/VwozrRr?editors=1000&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated! Thank you for your assistance!&lt;/P&gt;</description>
    <pubDate>Mon, 21 Oct 2024 03:47:13 GMT</pubDate>
    <dc:creator>Lerman</dc:creator>
    <dc:date>2024-10-21T03:47:13Z</dc:date>
    <item>
      <title>Portal.authMode Not Effective When Set to Anonymous</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/portal-authmode-not-effective-when-set-to/m-p/1550336#M85916</link>
      <description>&lt;P&gt;Hi Everyone!&lt;/P&gt;&lt;P&gt;According to the documentation (&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-Portal.html#authMode" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-Portal.html#authMode&lt;/A&gt;), when Portal.authMode is set to anonymous, an error will be returned when a secure resource is requested. However, during my testing, even when setting Portal.authMode to anonymous, a login window still appears, prompting the user to enter their credentials. This behavior is indistinguishable from the auto mode (The user will be signed in when a secure resource is requested.).&lt;/P&gt;&lt;P&gt;I would like to know if this is an API bug or if I am using it incorrectly. I have created a demo to replicate this issue, which adds a service that requires authentication. You can find the demo here: &lt;A href="https://codepen.io/xiej/pen/VwozrRr?editors=1000" target="_blank"&gt;https://codepen.io/xiej/pen/VwozrRr?editors=1000&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated! Thank you for your assistance!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 03:47:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/portal-authmode-not-effective-when-set-to/m-p/1550336#M85916</guid>
      <dc:creator>Lerman</dc:creator>
      <dc:date>2024-10-21T03:47:13Z</dc:date>
    </item>
  </channel>
</rss>

