<?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: Embedding a secure Experience Builder app inside WebView (.NET MAUI) in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/embedding-a-secure-experience-builder-app-inside/m-p/1633340#M13603</link>
    <description>&lt;P&gt;Logging in Runtime and then applying those credentials to web requests would require injecting headers into all requests.&amp;nbsp; Outside Windows, this is quite hard to do.&amp;nbsp; Even .NET 10's upcoming&amp;nbsp;&lt;A href="https://github.com/dotnet/maui/pull/28876" target="_self"&gt;HybridWebView web request interception&lt;/A&gt;&amp;nbsp;is only fully functional on Windows/WinUI.&lt;/P&gt;&lt;P&gt;The only practical approach I can think of is to make the user sign into portal in a WebView first, and &lt;EM&gt;then&lt;/EM&gt; transfer authorization to the Maps SDK app via OAuth (i.e. using an&amp;nbsp;IOAuthAuthorizeHandler that goes to the already-signed-in WebView instead of a popping out into the system browser).&amp;nbsp; And I am not 100% sure if that would work either.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Jul 2025 21:25:17 GMT</pubDate>
    <dc:creator>MatveiStefarov</dc:creator>
    <dc:date>2025-07-15T21:25:17Z</dc:date>
    <item>
      <title>Embedding a secure Experience Builder app inside WebView (.NET MAUI)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/embedding-a-secure-experience-builder-app-inside/m-p/1631657#M13602</link>
      <description>&lt;P&gt;I have a .NET MAUI application that I need to load an Experience Builder application from the client's portal in. The user is already authenticated earlier in their workflow at app-start.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can load the Exp Builder app from WebView by setting the Source property to its URL in Portal. The issue is that I'm being asked to authenticate by logging in inside the WebView. I'd like to avoid this workflow where the user has to enter their credentials more than once in the entire application workflow.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried passing the access token from Portal by setting &amp;amp;&lt;FONT face="courier new,courier"&gt;token=token-value&lt;/FONT&gt; as a parameter to the WebView source. Unfortunately, this didn't work either.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What have others tried to get this authentication working for them?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 16:34:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/embedding-a-secure-experience-builder-app-inside/m-p/1631657#M13602</guid>
      <dc:creator>KevinCheriyan</dc:creator>
      <dc:date>2025-07-09T16:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Embedding a secure Experience Builder app inside WebView (.NET MAUI)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/embedding-a-secure-experience-builder-app-inside/m-p/1633340#M13603</link>
      <description>&lt;P&gt;Logging in Runtime and then applying those credentials to web requests would require injecting headers into all requests.&amp;nbsp; Outside Windows, this is quite hard to do.&amp;nbsp; Even .NET 10's upcoming&amp;nbsp;&lt;A href="https://github.com/dotnet/maui/pull/28876" target="_self"&gt;HybridWebView web request interception&lt;/A&gt;&amp;nbsp;is only fully functional on Windows/WinUI.&lt;/P&gt;&lt;P&gt;The only practical approach I can think of is to make the user sign into portal in a WebView first, and &lt;EM&gt;then&lt;/EM&gt; transfer authorization to the Maps SDK app via OAuth (i.e. using an&amp;nbsp;IOAuthAuthorizeHandler that goes to the already-signed-in WebView instead of a popping out into the system browser).&amp;nbsp; And I am not 100% sure if that would work either.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 21:25:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/embedding-a-secure-experience-builder-app-inside/m-p/1633340#M13603</guid>
      <dc:creator>MatveiStefarov</dc:creator>
      <dc:date>2025-07-15T21:25:17Z</dc:date>
    </item>
  </channel>
</rss>

