<?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: Bringing ArcGIS Server Authentication Beyond Map Applications in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/bringing-arcgis-server-authentication-beyond-map/m-p/584872#M2795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN style="color:#333333;"&gt;Check this&lt;A href="http://www.arcgis.com/home/item.html?id=1d3beac52f454f78aa1a8bcadaac692a"&gt; &lt;/A&gt;&lt;/SPAN&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=1d3beac52f454f78aa1a8bcadaac692a"&gt;http://www.arcgis.com/home/item.html...1a8bcadaac692a&lt;/A&gt;&lt;SPAN&gt; to get started with OAuth logins.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Sep 2013 22:04:52 GMT</pubDate>
    <dc:creator>AnttiKajanus1</dc:creator>
    <dc:date>2013-09-14T22:04:52Z</dc:date>
    <item>
      <title>Bringing ArcGIS Server Authentication Beyond Map Applications</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/bringing-arcgis-server-authentication-beyond-map/m-p/584871#M2794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to learn how to bring the Arcgis Server 10.1 built-in authentication to the rest of my .net application. I was wondering if anyone has tried, and could share their experience/suggestions. I've read the documentation at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://developers.arcgis.com/en/authentication/non-oauth2.html" rel="nofollow" target="_blank"&gt;https://developers.arcgis.com/en/authentication/non-oauth2.html&lt;/A&gt;&lt;SPAN&gt;, but I'm not familiar with how to use tokens. I would refer to a .Net SDK, but I don't know which one to pick from all the Microsoft options. Can anyone point me to any resources regarding this topic?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Sep 2013 00:08:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/bringing-arcgis-server-authentication-beyond-map/m-p/584871#M2794</guid>
      <dc:creator>NathanDorman</dc:creator>
      <dc:date>2013-09-14T00:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Bringing ArcGIS Server Authentication Beyond Map Applications</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/bringing-arcgis-server-authentication-beyond-map/m-p/584872#M2795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN style="color:#333333;"&gt;Check this&lt;A href="http://www.arcgis.com/home/item.html?id=1d3beac52f454f78aa1a8bcadaac692a"&gt; &lt;/A&gt;&lt;/SPAN&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=1d3beac52f454f78aa1a8bcadaac692a"&gt;http://www.arcgis.com/home/item.html...1a8bcadaac692a&lt;/A&gt;&lt;SPAN&gt; to get started with OAuth logins.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Sep 2013 22:04:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/bringing-arcgis-server-authentication-beyond-map/m-p/584872#M2795</guid>
      <dc:creator>AnttiKajanus1</dc:creator>
      <dc:date>2013-09-14T22:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Bringing ArcGIS Server Authentication Beyond Map Applications</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/bringing-arcgis-server-authentication-beyond-map/m-p/584873#M2796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Am I missing something? I thought the documentation was pretty clear that OAuth is not supported for servers not associated with ArcGIS Online.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 19:05:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/bringing-arcgis-server-authentication-beyond-map/m-p/584873#M2796</guid>
      <dc:creator>NathanDorman</dc:creator>
      <dc:date>2013-09-16T19:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Bringing ArcGIS Server Authentication Beyond Map Applications</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/bringing-arcgis-server-authentication-beyond-map/m-p/584874#M2797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Seems I've found my solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I first generate the token from /arcgis/tokens/generateToken. Then write the token to a cookie named, agstoken. From there, I just have to test the validity of the token. The easiest method I could come up with is to try access a folder that requires authentication. If I don't get an http 400 code, then I know I'm logged in/have a valid cookie.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would have gone with appending the token to a url, but it seems that appending does not work when trying to access private directories.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 17:57:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/bringing-arcgis-server-authentication-beyond-map/m-p/584874#M2797</guid>
      <dc:creator>NathanDorman</dc:creator>
      <dc:date>2013-09-17T17:57:31Z</dc:date>
    </item>
  </channel>
</rss>

