I am using Experience Builder 1.19 Developer Edition with custom widgets. I have deployed an application to an internal web server and everything works well once the app loads.
But, when the web app loads in the browser, users first get a small dialog box that says "please sign into ArcGIS online - OK or cancel. " If they click ok they get the sign in page. But this is a strange end user experience, as the user just expects the sign in page straight away. Is there a way to bypass this little extra dialog box, perhaps using the new Login widget? ( I saw this post from 2023.)
This behavior happens when I select "apply builder client ID" to my app download from the builder environment. When I leave "apply builder client ID" unchecked, the app loads (after a different sign-in prompt), but seems to "timeout" after 30 minutes and loses connection to hosted feature layers in my web map. End-users then see a credentials banner with a sign-in option but a sign-in using this credentials banner does not fix the app. They are required to refresh the app in the browser to continue working.
All the data in the web map is hosted in ArcGIS Online. I appreciate any insight.