<?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: Anyone successfully built a reverse proxy to pass secret credentials to client side? in Experience Builder Custom Widgets</title>
    <link>https://community.esri.com/t5/experience-builder-custom-widgets/anyone-successfully-built-a-reverse-proxy-to-pass/m-p/1411829#M294</link>
    <description>&lt;P&gt;Hey Ryan,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Unfortunately the embed credentials really only works for services that exist in the ArcGIS Ecosystem. This is an external API used to fetch weather data. I have to first supply a client id and secret in order to get an authorization token and then pass this along using geo coordinates to get forecasted data.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Apr 2024 18:48:20 GMT</pubDate>
    <dc:creator>RoderickPerendy</dc:creator>
    <dc:date>2024-04-18T18:48:20Z</dc:date>
    <item>
      <title>Anyone successfully built a reverse proxy to pass secret credentials to client side?</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/anyone-successfully-built-a-reverse-proxy-to-pass/m-p/1406893#M286</link>
      <description>&lt;P&gt;Hello all,&lt;BR /&gt;&lt;BR /&gt;I hosting arcgis experience builder apps on an azure web app service. I have a custom widget that requires passing client id and client secrets to an API to bring in weather data. I'm trying my best to avoid storing these client side and so I created an azure keyvault and have registered by web app to read key vault secrets and utilize our active directory for authentication.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;However, azure identity really only works server side so I installed the necessary libraries server side, made a new koa middleware and then bootstrapped the server to apply the new middleware before running the server.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm doing all of this in containers and it boots up, however now my custom widgets don't load.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;koa middlewares are really new to me.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm wondering if anyone has any success stories on this front.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank You!&lt;/P&gt;</description>
      <pubDate>Sat, 06 Apr 2024 23:23:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/anyone-successfully-built-a-reverse-proxy-to-pass/m-p/1406893#M286</guid>
      <dc:creator>RoderickPerendy</dc:creator>
      <dc:date>2024-04-06T23:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone successfully built a reverse proxy to pass secret credentials to client side?</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/anyone-successfully-built-a-reverse-proxy-to-pass/m-p/1408760#M290</link>
      <description>&lt;P&gt;I'm not sure this fits your scenario or which environment you're using (Enterprise or AGOL) but you can embed credentials in services. Could you perhaps use a rest url from the api and embed the credentials in the Portal/AGOL item similarly to how you did it the key vault?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 21:08:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/anyone-successfully-built-a-reverse-proxy-to-pass/m-p/1408760#M290</guid>
      <dc:creator>RyanDickinson1</dc:creator>
      <dc:date>2024-04-11T21:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone successfully built a reverse proxy to pass secret credentials to client side?</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/anyone-successfully-built-a-reverse-proxy-to-pass/m-p/1411829#M294</link>
      <description>&lt;P&gt;Hey Ryan,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Unfortunately the embed credentials really only works for services that exist in the ArcGIS Ecosystem. This is an external API used to fetch weather data. I have to first supply a client id and secret in order to get an authorization token and then pass this along using geo coordinates to get forecasted data.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 18:48:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/anyone-successfully-built-a-reverse-proxy-to-pass/m-p/1411829#M294</guid>
      <dc:creator>RoderickPerendy</dc:creator>
      <dc:date>2024-04-18T18:48:20Z</dc:date>
    </item>
  </channel>
</rss>

