<?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 does ArcGIS Runtime supports the OpenID connect method? in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-does-arcgis-runtime-supports-the-openid/m-p/1160699#M7324</link>
    <description>&lt;P&gt;ArcGIS Enterprise 10.9 allows an administrator to manage OpenID logins. One of our customer tries to implement an OpenID login by using the native login screen and a custom authentication handler for OpenID connect. We ran out of luck to find any ArcGIS Runtime sample using OpenID connect logins. Would you be so kind and tell us, if the AuthenticationManager supports OpenID connect, or how to implement a custom AuthenticationManager?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Follow up:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-ideas-blog/your-ideas-in-arcgis-enterprise-10-9/ba-p/1072018" target="_blank" rel="noopener"&gt;Your Ideas in ArcGIS Enterprise 10.9 - Esri Community&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-ios/tree/main/arcgis-ios-sdk-samples/Cloud%20and%20portal/Token%20authentication" target="_blank" rel="noopener"&gt;arcgis-runtime-samples-ios/arcgis-ios-sdk-samples/Cloud and portal/Token authentication at main · Esri/arcgis-runtime-samples-ios (github.com)&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Mon, 04 Apr 2022 11:56:42 GMT</pubDate>
    <dc:creator>Jan-Tschada</dc:creator>
    <dc:date>2022-04-04T11:56:42Z</dc:date>
    <item>
      <title>How does ArcGIS Runtime supports the OpenID connect method?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-does-arcgis-runtime-supports-the-openid/m-p/1160699#M7324</link>
      <description>&lt;P&gt;ArcGIS Enterprise 10.9 allows an administrator to manage OpenID logins. One of our customer tries to implement an OpenID login by using the native login screen and a custom authentication handler for OpenID connect. We ran out of luck to find any ArcGIS Runtime sample using OpenID connect logins. Would you be so kind and tell us, if the AuthenticationManager supports OpenID connect, or how to implement a custom AuthenticationManager?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Follow up:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-ideas-blog/your-ideas-in-arcgis-enterprise-10-9/ba-p/1072018" target="_blank" rel="noopener"&gt;Your Ideas in ArcGIS Enterprise 10.9 - Esri Community&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-ios/tree/main/arcgis-ios-sdk-samples/Cloud%20and%20portal/Token%20authentication" target="_blank" rel="noopener"&gt;arcgis-runtime-samples-ios/arcgis-ios-sdk-samples/Cloud and portal/Token authentication at main · Esri/arcgis-runtime-samples-ios (github.com)&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 04 Apr 2022 11:56:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-does-arcgis-runtime-supports-the-openid/m-p/1160699#M7324</guid>
      <dc:creator>Jan-Tschada</dc:creator>
      <dc:date>2022-04-04T11:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: How does ArcGIS Runtime supports the OpenID connect method?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-does-arcgis-runtime-supports-the-openid/m-p/1161419#M7331</link>
      <description>&lt;P&gt;You need to setup the ArcGIS Enterprise portal to use the OpenID connect. Please refer below link.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://enterprise.arcgis.com/en/portal/latest/administer/windows/openid-connect-logins.htm" target="_blank" rel="noopener"&gt;https://enterprise.arcgis.com/en/portal/latest/administer/windows/openid-connect-logins.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In ArcGIS Runtime, you need to initiate the portal loading using OAuth and in the OAuth login page you should see an option to login using the OpenID connect you have configured above.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The &lt;A href="https://github.com/Esri/arcgis-runtime-samples-ios/tree/main/arcgis-ios-sdk-samples/Cloud%20and%20portal/Authenticate%20with%20OAuth" target="_self"&gt;Authenticate with OAuth&lt;/A&gt; sample may be helpful.&lt;/P&gt;&lt;P&gt;There some more docs available to configure OpenID using different type of accounts.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/idp/tree/main/Documentation/OpenID" target="_blank" rel="noopener"&gt;https://github.com/Esri/idp/tree/main/Documentation/OpenID&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nimesh&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 22:58:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-does-arcgis-runtime-supports-the-openid/m-p/1161419#M7331</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2022-04-05T22:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: How does ArcGIS Runtime supports the OpenID connect method?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-does-arcgis-runtime-supports-the-openid/m-p/1161613#M7335</link>
      <description>&lt;P&gt;There is a need for a custom workflow, because the default browser cannot be used on some secured devices. So that, the Authentication Manager must be customized or maybe the authentication challenge handler must be implemented using the native device "auth controller". The only library we are aware of is&amp;nbsp;&lt;A href="https://openid.github.io/AppAuth-iOS/" target="_blank"&gt;AppAuth for iOS by openid&lt;/A&gt;&amp;nbsp;supporting a custom authentication handler on top of "&lt;SPAN&gt;SFSafariViewController&lt;/SPAN&gt;". Maybe we should give it a try...&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1055"&gt;@NimeshJarecha&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 15:16:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-does-arcgis-runtime-supports-the-openid/m-p/1161613#M7335</guid>
      <dc:creator>Jan-Tschada</dc:creator>
      <dc:date>2022-04-06T15:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: How does ArcGIS Runtime supports the OpenID connect method?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-does-arcgis-runtime-supports-the-openid/m-p/1162321#M7343</link>
      <description>&lt;P&gt;You can try following steps,&lt;/P&gt;&lt;P&gt;1. Set `&lt;SPAN&gt;AGSAuthenticationManager.delegate`.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. In the delegate i&lt;/SPAN&gt;mplement&amp;nbsp;&lt;A href="https://developers.arcgis.com/ios/api-reference/protocol_a_g_s_authentication_manager_delegate-p.html#a7168c920c3c1fc0f47ffc736b4b9b1bb" target="_blank" rel="noopener"&gt;authenticationManager:didReceiveAuthenticationChallenge:&lt;/A&gt;&lt;/P&gt;&lt;P&gt;3. When challenge is issued for the portal, get the token through your custom implementation.&lt;/P&gt;&lt;P&gt;4. Create AGSCredential with generated token.&lt;/P&gt;&lt;P&gt;5. On the `&lt;SPAN&gt;AGSAuthenticationChallenge&lt;/SPAN&gt;` object call,&amp;nbsp;&lt;A href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_authentication_challenge.html#a4cac4e6c4a9e3c7c7480e60b36f26f16" target="_blank" rel="noopener"&gt;continueWithCredential:&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If this works, the only problem will be that we'll not be able to automatically refresh token when it expires.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nimesh&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 21:12:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-does-arcgis-runtime-supports-the-openid/m-p/1162321#M7343</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2022-04-07T21:12:23Z</dc:date>
    </item>
  </channel>
</rss>

