Select to view content in your preferred language

Dashboard embedded in Experience Builder app asking for login

3753
8
Jump to solution
10-31-2022 05:56 AM
Labels (1)
LJackson29
Frequent Contributor

I have an EB app in AGO that has an embedded ArcGIS Dashboard also from AGO. Both the EB app and dashboard are owned by me and currently are not shared. When I open the EB app, the Dashboard is asking me to login into AGO despite already being logged into AGO. I have another EB app that I created earlier this year that is setup the same way and it is fine. I have noticed a couple similar posts also about logins being asked for and was wondering if there may be a new bug/issue?

@GregReineckehttps://community.esri.com/t5/arcgis-experience-builder-questions/my-exb-public-dashboard-no-longer-...

@LinasS: https://community.esri.com/t5/arcgis-experience-builder-questions/avoid-login-prompt-when-launching-...

 

 

0 Kudos
1 Solution

Accepted Solutions
LJackson29
Frequent Contributor

Thanks @TonghuiMing for the suggestion. I was not able to get that to work, but in the process of doing that and copying and pasting the Dashboard URL into the embed URL box several times, it now seems to be working ok just using the Dashboard URL.

View solution in original post

8 Replies
TonghuiMing
Esri Regular Contributor

@LJackson29 - Based on your descriptions, I think your case is a bit different from the other two, depending on the content embedded.

Try using the parameters arcgis-auth-origin and arcgis-auth-portal towards the end of the URL put inside the Embed widget for authentication, since you have AGOL apps embedded in an ExB app. Check out the official documentation here -

https://doc.arcgis.com/en/experience-builder/latest/configure-widgets/embed-widget.htm#ESRI_SECTION1...

 

You might be looking at something like this to Embed:

https://www.arcgis.com/apps/opsdashboard/index.html#/<appID>?arcgis-auth-origin=https://experience.arcgis.com&arcgis-auth-portal=https://<myorg>.maps.arcgis.com

 

LJackson29
Frequent Contributor

Thanks @TonghuiMing for the suggestion. I was not able to get that to work, but in the process of doing that and copying and pasting the Dashboard URL into the embed URL box several times, it now seems to be working ok just using the Dashboard URL.

RichfieldMN
Occasional Contributor

How would that look like if I have a survey123 form embedded to Experience Builder? I tried to use these parameters in the survey123 url without success. Thank you!

LJackson29
Frequent Contributor

@RichfieldMN Have you tried using the Survey123 widget in Experience Builder instead of the embed widget?

0 Kudos
RichfieldMN
Occasional Contributor

Yes but for the enterprise version (10.9) we are using, the survey123 widget in Experience Builder doesn't allow edit mode. It only lets you submit new entries. So I had to embed it in order to allow the survey123 in edit mode. Thanks for the input though!

0 Kudos
ArmstKP
Frequent Contributor

@TonghuiMing Thank you.  This solved my issue!

Saxina
by
Occasional Contributor

Hi @TonghuiMing 
I am trying to embed a secured arcgis dashboard in my EXB application,
I am passing in the below url to the embed widget. But the authentication is not shared and the dashboard is asking for login again.

https://myarcgisorgportal.com/portal/apps/dashboards/123803221e8eb45148c2ef41f032740xy?arcgis-auth-o...

Any help is much appreciated. Thanks!

Saxina_0-1712153188274.png

 

NourSalamJMT
Occasional Contributor

@TonghuiMing any chance you've trying building a similar URL for ArcGIS Enterprise? The documentation didn't work for me.