Select to view content in your preferred language

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

109
1
Tuesday
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
1 Reply
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