<?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: Does the esri javascript api IdentityManager work with ArcGIS Services or only with ArcGIS.com and Portal? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-the-esri-javascript-api-identitymanager-work/m-p/311406#M28648</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Heather, our system is overly complicated.&amp;nbsp; We are not using the ArcGIS Platform to manage users.&amp;nbsp; The server is not federated.&amp;nbsp; Here is a screen shot of our configuration settings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/431900_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nils&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Dec 2018 20:27:37 GMT</pubDate>
    <dc:creator>NilsBabel</dc:creator>
    <dc:date>2018-12-18T20:27:37Z</dc:date>
    <item>
      <title>Does the esri javascript api IdentityManager work with ArcGIS Services or only with ArcGIS.com and Portal?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-the-esri-javascript-api-identitymanager-work/m-p/311402#M28644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using ArcGIS Server 10.4.&amp;nbsp; I have services secured with OAuth 2.&amp;nbsp; I'm trying to use the OAuthInfo and IdentityManager to access my services in a web app.&amp;nbsp; Similar to this sample:&amp;nbsp;&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jssamples/portal_oauth_inline.html" title="https://developers.arcgis.com/javascript/3/jssamples/portal_oauth_inline.html"&gt;OAuth Basic | ArcGIS API for JavaScript 3.26&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of displaying a gallery I'm just trying to add the secure services to a map.&amp;nbsp; All of the documentation I've read refer to ArcGIS.com and ArcGIS Enterprise (Portal).&amp;nbsp; Does this security model extend to ArcGIS Server without portal configured?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2018 17:37:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-the-esri-javascript-api-identitymanager-work/m-p/311402#M28644</guid>
      <dc:creator>NilsBabel</dc:creator>
      <dc:date>2018-12-12T17:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Does the esri javascript api IdentityManager work with ArcGIS Services or only with ArcGIS.com and Portal?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-the-esri-javascript-api-identitymanager-work/m-p/311403#M28645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nils,&lt;/P&gt;&lt;P&gt;The IdentityManager works with both ArcGIS Server token authentication and ArcGIS.com and/or Portal. If you wish to use the OAuth approach with ArcGIS.com/Portal, you would need to use the OAuthInfo class. This is not necessary if just trying to access secured ArcGIS Server services. The way that the IDManager works is it recognizes if there is any secure services in an application. If so, it will prompt the user for credentials. Since you are not using ArcGIS.com or Enterprise Server to host these services, you don't need to worry about the OAuthInfo portion of things.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an old sample that shows how this is handled,&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/samples/widget_identitymanager/" title="https://developers.arcgis.com/javascript/3/samples/widget_identitymanager/"&gt;Accessing secure ArcGIS Server services&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may want to listen to a talk I did at one of our conferences a couple years back, we discuss the different types of authentication and how they are handled in the API. The specifics to what you are asking is around the 3:00 minute mark. We discuss and show a demo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.esri.com/videos/watch?videoid=4452" title="https://www.esri.com/videos/watch?videoid=4452"&gt;Security and ArcGIS Web Development Video | Esri&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Heather&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2018 14:15:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-the-esri-javascript-api-identitymanager-work/m-p/311403#M28645</guid>
      <dc:creator>HeatherGonzago</dc:creator>
      <dc:date>2018-12-18T14:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Does the esri javascript api IdentityManager work with ArcGIS Services or only with ArcGIS.com and Portal?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-the-esri-javascript-api-identitymanager-work/m-p/311404#M28646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Heather, that's very helpful.&amp;nbsp; I had not seen that video before.&amp;nbsp; That explains a lot.&amp;nbsp; I have configured my sample app to simply use the Identity Manager and it works as you've described.&amp;nbsp; The user gets prompted when the secured map service is added to the map.&amp;nbsp; However, I'm the GIS Developer building maps for a larger app.&amp;nbsp; Users have to login to the application.&amp;nbsp; The user logins are replicated with ArcGIS Server.&amp;nbsp; What I would like to do is authenticate the user against ArcGIS Server when they login to the application, so they don't have to login again when they open a map.&amp;nbsp; We are using ArcGIS for Server Advanced 10.4.1.&amp;nbsp; The user logins are being managed in an OAuth system and ArcGIS Server is configured to use the OAuth system.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On another note, if I secure a GP service how do I submit a job to it from the JavaScript API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nils&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2018 16:50:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-the-esri-javascript-api-identitymanager-work/m-p/311404#M28646</guid>
      <dc:creator>NilsBabel</dc:creator>
      <dc:date>2018-12-18T16:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Does the esri javascript api IdentityManager work with ArcGIS Services or only with ArcGIS.com and Portal?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-the-esri-javascript-api-identitymanager-work/m-p/311405#M28647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nils,&lt;/P&gt;&lt;P&gt;You mention "&lt;SPAN style="color: #3d3d3d;"&gt;The user logins are being managed in an OAuth system and ArcGIS Server is configured to use the OAuth system." Do you mean, you are using the ArcGIS platform to manage your users? If so, do you also have your Server federated with it? If this is the case, you will need to work with the OAuthInfo class. To do this, register an application within the platform and use it's ID in the OAuthInfo class. There is the option in the IdentityManager popup to check on whether to save this login for future use.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;You also as&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;how do you submit a job to a secure GP service? The same premise applies here as well. Anytime the API comes across a secure service that it cannot access, it will prompt you with this dialog.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2018 16:59:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-the-esri-javascript-api-identitymanager-work/m-p/311405#M28647</guid>
      <dc:creator>HeatherGonzago</dc:creator>
      <dc:date>2018-12-18T16:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Does the esri javascript api IdentityManager work with ArcGIS Services or only with ArcGIS.com and Portal?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-the-esri-javascript-api-identitymanager-work/m-p/311406#M28648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Heather, our system is overly complicated.&amp;nbsp; We are not using the ArcGIS Platform to manage users.&amp;nbsp; The server is not federated.&amp;nbsp; Here is a screen shot of our configuration settings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/431900_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nils&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2018 20:27:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-the-esri-javascript-api-identitymanager-work/m-p/311406#M28648</guid>
      <dc:creator>NilsBabel</dc:creator>
      <dc:date>2018-12-18T20:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Does the esri javascript api IdentityManager work with ArcGIS Services or only with ArcGIS.com and Portal?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-the-esri-javascript-api-identitymanager-work/m-p/1169444#M77186</link>
      <description>&lt;P&gt;Hi Heather,&lt;/P&gt;&lt;P&gt;The link to the video no longer works.&amp;nbsp; Any chance there is a newer conference video on this topic at js 4.x?&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 18:52:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-the-esri-javascript-api-identitymanager-work/m-p/1169444#M77186</guid>
      <dc:creator>PLadd</dc:creator>
      <dc:date>2022-04-29T18:52:29Z</dc:date>
    </item>
  </channel>
</rss>

