Wednesday, 5 April 2017

Accessing secure ArcGIS Online map service from custom web mapping application?



I'm building a custom web mapping application for a client. The application will be hosted externally to ArcGIS Online, but the application is registered with AGOL. The application will access the client's secured AGOL web map services.


I'd like for the user to be able to log in to AGOL, open the application, and not have to log in again. However, each request for a secured resource from AGOL results in a login challenge.


I've set up the web proxy to avoid this problem, but it seems that the web proxy allows anyone access to the secured AGOL web map services.


So, it seems that my options are:



  1. Allow all users access to the client's secured AGOL web map services (hint: not an option).

  2. Require users to provide their login information each time a request is made to a secured AGOL service (hint: again, not an option).


Am I missing something? Is it not possible to do this?




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...