Select to view content in your preferred language

ArcGIS Enterprise IWA

197
3
06-09-2025 09:24 AM
vijaybadugu
Frequent Contributor

We have set up IWA for our on premise ArcGIS Enterprise. I'd like to share the web map with secured services to Public (everyone). Is there a way to set up using any one of Oauth methodologies in Javascript to access this ?

0 Kudos
3 Replies
JeffreyThompson2
MVP Frequent Contributor

https://developers.arcgis.com/documentation/security-and-authentication/app-authentication/

You should be able to do this using App Authentication. This page should outline how it works and links to a tutorial.

GIS Developer
City of Arlington, Texas
0 Kudos
vijaybadugu
Frequent Contributor

Do we need to set up a web server application to pass these client Id and secret between portal and web server application?

0 Kudos
JeffreyThompson2
MVP Frequent Contributor

To maintain security, your application will need a server side to generate a token. If you place the client id directly in the client side code, anyone could extract the id from the javascript code and access your data in another application. Tokens prevent this by only being useful for a limited time and from the requested IP.

GIS Developer
City of Arlington, Texas
0 Kudos