Route-Service OAuth Login despite proxy

983
2
Jump to solution
12-03-2017 11:24 PM
StabsstelleGIS
New Contributor III

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.

gdi-hohenlohekreis.de
0 Kudos
1 Solution

Accepted Solutions
PanagiotisPapadopoulos
Esri Regular Contributor

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.

View solution in original post

2 Replies
PanagiotisPapadopoulos
Esri Regular Contributor

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.

StabsstelleGIS
New Contributor III

Thanks a lot Panagiotis. That did the thing. The Directions Widget seems to need the traffic service too.

gdi-hohenlohekreis.de
0 Kudos