<?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 How to use ArcGIS Server OAuth as authentication for external app? in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-use-arcgis-server-oauth-as-authentication/m-p/53511#M1933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not looking for a step-by-step (unless you are so inclined to write-it)... but rather a big-picture view of this setup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have three a web app (client) running on the browser that will be making requests against both a NodeJS-based REST service, and ArcGIS Server 10.3.1 (or whatever is newest).&amp;nbsp; Because ArcGIS JS API and ArcGIS Server already have a great OAuth2-based authentication system in place, I want the NodeJS service to tie into that same OAuth setup controlled by ArcGIS Server such that if a user authenticates against ArcGIS Server, they can also access the content of the NodeJS service. If they are not authenticated against ArcGIS, then they cannot use the NodeJS service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unclear if ArcGIS and Node need to share some back-end database table of token data, or if I can have the NodeJS service forward the token stuff it gets from the client to ArcGIS Server for checking?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to have the client hit the NodeJS service first, and then get redirected to the ArcGIS login prompt if they are not logged in?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any thoughts!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 May 2015 19:43:37 GMT</pubDate>
    <dc:creator>NicholasFloersch</dc:creator>
    <dc:date>2015-05-29T19:43:37Z</dc:date>
    <item>
      <title>How to use ArcGIS Server OAuth as authentication for external app?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-use-arcgis-server-oauth-as-authentication/m-p/53511#M1933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not looking for a step-by-step (unless you are so inclined to write-it)... but rather a big-picture view of this setup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have three a web app (client) running on the browser that will be making requests against both a NodeJS-based REST service, and ArcGIS Server 10.3.1 (or whatever is newest).&amp;nbsp; Because ArcGIS JS API and ArcGIS Server already have a great OAuth2-based authentication system in place, I want the NodeJS service to tie into that same OAuth setup controlled by ArcGIS Server such that if a user authenticates against ArcGIS Server, they can also access the content of the NodeJS service. If they are not authenticated against ArcGIS, then they cannot use the NodeJS service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unclear if ArcGIS and Node need to share some back-end database table of token data, or if I can have the NodeJS service forward the token stuff it gets from the client to ArcGIS Server for checking?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to have the client hit the NodeJS service first, and then get redirected to the ArcGIS login prompt if they are not logged in?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any thoughts!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 19:43:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-use-arcgis-server-oauth-as-authentication/m-p/53511#M1933</guid>
      <dc:creator>NicholasFloersch</dc:creator>
      <dc:date>2015-05-29T19:43:37Z</dc:date>
    </item>
  </channel>
</rss>

