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:
- Allow all users access to the client's secured AGOL web map services (hint: not an option).
- 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?