I've created a web app in AGOL which uses the Near Me widget. The widget is also setup to use the default World Routing service. I put the routing url in the premium services section of the Attributes tab which I assume means that anyone can use the service.
The problem is when an anonymous user who is not logged in to AGOL uses the widget they are redirected to log in. I would like to avoid this if possible, any suggestions?
Thanks,
Danik,
This is what you would use a proxy for to provide the login credentials in the proxy and avoid the login prompt.
GitHub - Esri/resource-proxy: Proxy files for DotNet, Java and PHP.
Setting up a proxy with Web AppBuilder Developer Edition | Support Services Blog
Hi Robert, thanks for the response. Unfortunately, I am not using the Developer Edition I'm using the Web AppBuilder that is integrated into ArcGIS Online. I don't think there is any way to add a proxy to that service.
I think the problem lies with the Near Me Widget. I have the Directions Widget and it works fine for users that are not logged-in but the directions tab in the Near Me widget does not work even though they use the same routing service.
Danik
Danik,
I sounds like something you need to contact esri tech support about then.