<?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 Multiple Users with the same Login credentials in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-users-with-the-same-login-credentials/m-p/1111352#M75079</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using ArcGIS Javascript API 4.15, facing an issue while generating a token for the ArcGIS online MapService.&lt;/P&gt;&lt;P&gt;When multiple users (for example around 10 users) try to load the map with the same UserName/Password, the login popup appears for some users.&lt;/P&gt;&lt;P&gt;the code is :&lt;/P&gt;&lt;P&gt;serverInfo= {&lt;BR /&gt;"hasServer": true,&lt;BR /&gt;"server": &amp;lt;serverUrl&amp;gt;,&lt;BR /&gt;"tokenServiceUrl": &amp;lt;tokenServiceUrl&amp;gt;&lt;BR /&gt;}&lt;BR /&gt;parameters= {&lt;BR /&gt;f: "json",&lt;BR /&gt;"username": &amp;lt;userName&amp;gt;,&lt;BR /&gt;"password": &amp;lt;pwd&amp;gt;&lt;BR /&gt;}&lt;BR /&gt;var def = this.esri.identityManager.generateToken(serverInfo, parameters);&lt;BR /&gt;def.then((tokenInfo) =&amp;gt; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this.esri.identityManager.registerToken({&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"server": &amp;lt;serviceUrl&amp;gt;,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"token": &amp;lt;token&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"userId": &amp;lt;username&amp;gt;,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"expires": &amp;lt;expires&amp;gt;,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"ssl": &amp;lt;ssl&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;})&lt;BR /&gt;})&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YashvitNaik_0-1635268533190.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/26228iB936281AE52EDB9E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YashvitNaik_0-1635268533190.png" alt="YashvitNaik_0-1635268533190.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Oct 2021 17:17:01 GMT</pubDate>
    <dc:creator>YashvitNaik</dc:creator>
    <dc:date>2021-10-26T17:17:01Z</dc:date>
    <item>
      <title>Multiple Users with the same Login credentials</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-users-with-the-same-login-credentials/m-p/1111352#M75079</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using ArcGIS Javascript API 4.15, facing an issue while generating a token for the ArcGIS online MapService.&lt;/P&gt;&lt;P&gt;When multiple users (for example around 10 users) try to load the map with the same UserName/Password, the login popup appears for some users.&lt;/P&gt;&lt;P&gt;the code is :&lt;/P&gt;&lt;P&gt;serverInfo= {&lt;BR /&gt;"hasServer": true,&lt;BR /&gt;"server": &amp;lt;serverUrl&amp;gt;,&lt;BR /&gt;"tokenServiceUrl": &amp;lt;tokenServiceUrl&amp;gt;&lt;BR /&gt;}&lt;BR /&gt;parameters= {&lt;BR /&gt;f: "json",&lt;BR /&gt;"username": &amp;lt;userName&amp;gt;,&lt;BR /&gt;"password": &amp;lt;pwd&amp;gt;&lt;BR /&gt;}&lt;BR /&gt;var def = this.esri.identityManager.generateToken(serverInfo, parameters);&lt;BR /&gt;def.then((tokenInfo) =&amp;gt; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this.esri.identityManager.registerToken({&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"server": &amp;lt;serviceUrl&amp;gt;,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"token": &amp;lt;token&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"userId": &amp;lt;username&amp;gt;,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"expires": &amp;lt;expires&amp;gt;,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"ssl": &amp;lt;ssl&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;})&lt;BR /&gt;})&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YashvitNaik_0-1635268533190.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/26228iB936281AE52EDB9E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YashvitNaik_0-1635268533190.png" alt="YashvitNaik_0-1635268533190.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 17:17:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-users-with-the-same-login-credentials/m-p/1111352#M75079</guid>
      <dc:creator>YashvitNaik</dc:creator>
      <dc:date>2021-10-26T17:17:01Z</dc:date>
    </item>
  </channel>
</rss>

