<?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: How do I login using ADFS / SAML / STS? in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-do-i-login-using-adfs-saml-sts/m-p/812735#M2530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This has been a challenge for our organization for the past few years as well. &amp;nbsp;We finally put together an authentication handler that works with the python requests API which supports the esri proprietary "token authentication", web-tier using Kerberos (or ntlm) and SAML with enterprise logins. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code repo is on git hub&amp;nbsp;&lt;A class="link-titled" href="https://github.com/DOI-BLM/requests-arcgis-auth" title="https://github.com/DOI-BLM/requests-arcgis-auth"&gt;GitHub - DOI-BLM/requests-arcgis-auth: Authentication handler for using Esri ArcGIS for Server and Portal (ArcGIS Online…&lt;/A&gt;&amp;nbsp;in case you find it valuable for your efforts. &amp;nbsp;The saml piece was developed specifically to work with our saml provider (which supports Kerberos authentication), but the overall process for authentication to the identity provider (SAML) with handing the saml code back to the portal to acquire an access and refresh token is technically feasible.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best of luck.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jun 2017 16:58:34 GMT</pubDate>
    <dc:creator>PF1</dc:creator>
    <dc:date>2017-06-21T16:58:34Z</dc:date>
    <item>
      <title>How do I login using ADFS / SAML / STS?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-do-i-login-using-adfs-saml-sts/m-p/812734#M2529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The documentation for the ArcGIS API for Python doesn't seem to cover the scenario for logging in to ArcGIS Online that my agency uses. I log into &lt;A class="unlinked"&gt;https://wsdot.maps.arcgis.com using my Windows domain account (active directory) which somehow involves connecting to &lt;/A&gt;&lt;A class="unlinked"&gt;https://sts.wsdot.wa.gov/adfs/ls/auth/integrated/?SAMLRequest=&lt;/A&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way I have figured out to log in is to have &lt;A href="https://developers.arcgis.com/python/guide/working-with-different-authentication-schemes/#ArcGIS-Pro-user-connecting-to-the-active-portal-in-the-Pro-app"&gt;ArcGIS Pro already open and logged in&lt;/A&gt;, but this is not a viable solution for the script I am creating.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 19:39:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-do-i-login-using-adfs-saml-sts/m-p/812734#M2529</guid>
      <dc:creator>JeffJacobson</dc:creator>
      <dc:date>2017-02-13T19:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I login using ADFS / SAML / STS?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-do-i-login-using-adfs-saml-sts/m-p/812735#M2530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This has been a challenge for our organization for the past few years as well. &amp;nbsp;We finally put together an authentication handler that works with the python requests API which supports the esri proprietary "token authentication", web-tier using Kerberos (or ntlm) and SAML with enterprise logins. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code repo is on git hub&amp;nbsp;&lt;A class="link-titled" href="https://github.com/DOI-BLM/requests-arcgis-auth" title="https://github.com/DOI-BLM/requests-arcgis-auth"&gt;GitHub - DOI-BLM/requests-arcgis-auth: Authentication handler for using Esri ArcGIS for Server and Portal (ArcGIS Online…&lt;/A&gt;&amp;nbsp;in case you find it valuable for your efforts. &amp;nbsp;The saml piece was developed specifically to work with our saml provider (which supports Kerberos authentication), but the overall process for authentication to the identity provider (SAML) with handing the saml code back to the portal to acquire an access and refresh token is technically feasible.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best of luck.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 16:58:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-do-i-login-using-adfs-saml-sts/m-p/812735#M2530</guid>
      <dc:creator>PF1</dc:creator>
      <dc:date>2017-06-21T16:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do I login using ADFS / SAML / STS?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-do-i-login-using-adfs-saml-sts/m-p/812736#M2531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a relevant post:&amp;nbsp;&lt;A href="https://community.esri.com/thread/201079"&gt;Python API can't connect to portal with windows authentication&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And another:&amp;nbsp;&lt;A href="https://community.esri.com/thread/191593"&gt;How to connect to my Portal when our security is ADFS?&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And one more for good measure:&amp;nbsp;&lt;A href="https://community.esri.com/thread/188253-connect-to-portal-with-iwa"&gt;https://community.esri.com/thread/188253-connect-to-portal-with-iwa&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if any of those isolate the issue!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2018 19:24:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-do-i-login-using-adfs-saml-sts/m-p/812736#M2531</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-07-23T19:24:38Z</dc:date>
    </item>
  </channel>
</rss>

