Hello all,
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.
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.
I'm doing all of this in containers and it boots up, however now my custom widgets don't load.
koa middlewares are really new to me.
I'm wondering if anyone has any success stories on this front.
Thank You!