Hi,
I simply put this example Directions | ArcGIS API for JavaScript 3.22 into my website and installed the php-proxy from Github, so that everyone can use the premium route service using our credits. The proxy works fine with app login (client_id and secret), however a OAuth login div appears. I can hit abort and the Directions Widget works as it should. How can I prevent the login screen?
I would appreciate any hint.
Solved! Go to Solution.
this sample use 2 arcgis services
route.arcgis.com
traffic.arcgis.com
if you configure on your proxy only the route service try to set also the traffic service.
this sample use 2 arcgis services
route.arcgis.com
traffic.arcgis.com
if you configure on your proxy only the route service try to set also the traffic service.
Thanks a lot Panagiotis. That did the thing. The Directions Widget seems to need the traffic service too.