<?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: Options for authenticating user in JS API in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/options-for-authenticating-user-in-js-api/m-p/250456#M23201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eemeli,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you have a chance to review the authentication options we describe in our guide pages?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Working with the ArcGIS Platform&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/guide/working-with-platform/" title="https://developers.arcgis.com/javascript/latest/guide/working-with-platform/"&gt;Working with the ArcGIS Platform | ArcGIS API for JavaScript 4.13&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Access secure resources&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/guide/secure-resources/" title="https://developers.arcgis.com/javascript/latest/guide/secure-resources/"&gt;Access secure resources | ArcGIS API for JavaScript 4.13&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Oct 2019 16:47:25 GMT</pubDate>
    <dc:creator>Noah-Sager</dc:creator>
    <dc:date>2019-10-11T16:47:25Z</dc:date>
    <item>
      <title>Options for authenticating user in JS API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/options-for-authenticating-user-in-js-api/m-p/250455#M23200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm wondering what are the options when authenticating a user when showing a secured WebMap using JS API?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Use OAuth flow.&lt;/P&gt;&lt;P&gt;2. Ask the credentials on client side and use Identitymanager.generateToken.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What else? Can we just let the portal handle the authentication, i.e. when opening the map the portal would ask for credentials and user would have on-going session and API calls would just work? This way I can get the authen form visible but it ends up in " 'referer' must be specified. " error when pressong "Login".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The background for this question is that I'm working on a software where OAuth flow is not very trivial to accomplish and on the other hand I would not like to create my own form that collects user credentials on client side. I'd&amp;nbsp;prefer ArcGIS to show the login form and handle the authentication.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2019 08:34:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/options-for-authenticating-user-in-js-api/m-p/250455#M23200</guid>
      <dc:creator>EemeliP</dc:creator>
      <dc:date>2019-10-11T08:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Options for authenticating user in JS API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/options-for-authenticating-user-in-js-api/m-p/250456#M23201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eemeli,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you have a chance to review the authentication options we describe in our guide pages?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Working with the ArcGIS Platform&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/guide/working-with-platform/" title="https://developers.arcgis.com/javascript/latest/guide/working-with-platform/"&gt;Working with the ArcGIS Platform | ArcGIS API for JavaScript 4.13&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Access secure resources&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/guide/secure-resources/" title="https://developers.arcgis.com/javascript/latest/guide/secure-resources/"&gt;Access secure resources | ArcGIS API for JavaScript 4.13&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2019 16:47:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/options-for-authenticating-user-in-js-api/m-p/250456#M23201</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2019-10-11T16:47:25Z</dc:date>
    </item>
  </channel>
</rss>

