Display Webmap in my custom application

140
0
06-07-2023 12:24 PM
COPAdmin
New Contributor

Hi,

I have an ArcGIS online account in which there are certain webmaps which are shared only within the organization. Next I have a custom web application where I make use of the oAuth class to sign into my ArcGIS online account and display webmaps in a gallery in my application.

However, when I select a map from within my application, it does not render if I use the API keys. If I comment the API key, then it will again ask for the credentials which I'd like to avoid. It is only when I make my webmap public that I can view it within my application.

How can I display the map without prompting for credentials again?

 

thanks 

0 Kudos
0 Replies