Select to view content in your preferred language

How Can I Avoid the OAuth Permission Popup in ArcGIS Experience Builder?

213
2
4 weeks ago
Labels (2)
SantoshV
Emerging Contributor

Hi everyone,

I've built a WebGIS application using ArcGIS Experience Builder and implemented OAuth 2.0 for user authentication. Every time a user logs in, they are prompted with a permission popup asking to allow access to their ArcGIS Online (or Enterprise) account.

Is there a way to suppress or avoid this popup for a smoother user experience?

Here are some details about my setup:

  • The app is registered in the ArcGIS portal with a valid redirect URI.
  • I'm using user-based OAuth (authorization code grant).
  • The app accesses secured content (not public).
  • The domain is added to the portal's trusted servers list.

I’m open to suggestions like using App Login, adjusting scopes, or any best practices others have used to streamline the login process.

Thanks in advance!

0 Kudos
2 Replies
ZachBodenner
MVP Regular Contributor

Yeah there's a way! First, go into the app you have registered in your Portal/AGOL and find the AppID:

ZachBodenner_0-1750773767946.png

 

Then, after you download the app data and have hosted it on your server, open the app's cdn folder and find the config.json:

ZachBodenner_1-1750773847573.png

 

From there, search for 'ClientID' and add the app ID into that parameter

Happy mapping,
- Zach
0 Kudos
WilsonLee
Regular Contributor

Hi, I have the same issue and would like to get rid of the "sign in popup". I tried Zach's method above, but it didn’t work. Do you have any other ideas?

0 Kudos