<?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 Cookie authentication in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/cookie-authentication/m-p/363326#M4282</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I add an authentication cookie to requests (like loading a FeatureLayer)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, my ArcGIS server is behind a in-house web portal that asks you to authenticate via a web form. After that a cookie gets added and every following request reaches the web server (in this case the ArcGIS sever).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried a few things with AuthenticationManager but couldn't get anything to work. Usually the runtime complains about the response being not a correct JSON document. I wasn't even able to let AuthenticationManager send any authentication data at all because it makes requests to "/rest/info?f=json" and "/tokens/" which aren't even real URLs on our platform and will just return 404.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really only need to specify a custom cookie for each request and can handle the authentication myself but I don't see any option like that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Jul 2017 12:36:39 GMT</pubDate>
    <dc:creator>MatthiasPorges</dc:creator>
    <dc:date>2017-07-12T12:36:39Z</dc:date>
    <item>
      <title>Cookie authentication</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/cookie-authentication/m-p/363326#M4282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I add an authentication cookie to requests (like loading a FeatureLayer)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, my ArcGIS server is behind a in-house web portal that asks you to authenticate via a web form. After that a cookie gets added and every following request reaches the web server (in this case the ArcGIS sever).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried a few things with AuthenticationManager but couldn't get anything to work. Usually the runtime complains about the response being not a correct JSON document. I wasn't even able to let AuthenticationManager send any authentication data at all because it makes requests to "/rest/info?f=json" and "/tokens/" which aren't even real URLs on our platform and will just return 404.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really only need to specify a custom cookie for each request and can handle the authentication myself but I don't see any option like that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 12:36:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/cookie-authentication/m-p/363326#M4282</guid>
      <dc:creator>MatthiasPorges</dc:creator>
      <dc:date>2017-07-12T12:36:39Z</dc:date>
    </item>
  </channel>
</rss>

