Select to view content in your preferred language

URL Parameter : token

5590
18
04-28-2021 08:08 AM
GuillaumeArnaud
Frequent Contributor

Hi

I want to use an app generate by ExperienceBuilder in an iframe where user is auth. I try to add a "token" URL Parameter to get an automatic login to a non public app (with non public webmap). With a webappbuilder app I write <appurl>?token=<token>. This syntax doesn't work with experience builder.

Is there a mean to do that ?

thanks

Guillaume

18 Replies
TonghuiMing
Esri Regular Contributor

The sso REST endpoint supports it, so this could work: 

https://www.arcgis.com/sharing/rest/oauth2/authorize/sso?redirect_uri=https://experience.arcgis.com/experience/{appID}&client_id=experienceBuilder&canHandleCrossOrgSignin=true&token=xxx 

AlessioDiLorenzo
Regular Contributor

Is it valid for operations dashboard also?

BethLott
Occasional Contributor

Can you confirm that the SSO REST endpoint with the experience.arcgis.com URL works, vs "could work"? We have a similar requirement for an application that cannot be public.

0 Kudos
TomPattison1
Occasional Contributor

Anyone get this working?  Really need a solution here.

0 Kudos
TomPattison1
Occasional Contributor

Doesn't this still require credentials login for ArcGIS Online?  Need way to handle credentials behine the scene like we could with Web Application Builder.  What is Esri's response to this?

AlessioDiLorenzo
Regular Contributor

Not working. It redirects to the arcgis online login page.

The idea is granting the access to a secured resource (an experience, for example) behind the scene to users that are not registered to arcgis online, through the token. 

0 Kudos
lah
by
Frequent Contributor

Also desperate for a solution to this - this is a major limitation. ESRI support has also not been able to provide any suggestions, outside of making the app and data public (obviously not a viable option). 

I've also looked into Dashboards and Instant Apps - neither of them are able to do this either. I'm really trying, but it's impossible to move away from WAB at this point.

DavidHerries1
Emerging Contributor

Any updates on this, also need the same use case to allow a token to be used.

DaniIsenegger
Emerging Contributor

Same for us. In order to migrate from WAB app to ExB, the possibility to authenticate using a token is mandatory