AnsweredAssumed Answered

Proxy settings - Drive Directions

Question asked by D.Orlando on Dec 12, 2013
Latest reply on Dec 16, 2013 by JGravois-esristaff
with the depreciation of tasks.arcgisonline this month we are trying to switch to the route.arcgis.com instead, this is now a payservice so we're trying to follow the proxy example from GitHub.

https://github.com/EsriCanada/proxy-oauth
https://github.com/EsriCanada/application-boilerplate-driving-directions-js

There are so many places to change setting that I have completely tied myself in knots.

First off: Is it possible to pass our AGOL credentials so public users will never have to log-in?
If NOT please tell me!

If so, what settings do I change. There are places in:
boiler/config/default.js
proxy/proxy.config
proxy/web.config

Do I need to hardcode my AGOL username / password somewhere?
I've been told I need to register my app to get an appID and secret although this is strange to me because it is a local app so why/how do I register an app on my server with with AGOL
What do I use for the referer?, keep localhost or my ISS root or application path or server name/IP

I feel like there are many ways to use a proxy and each example is different although much of the terminology is being repeated when it shouldn't be.

As mention at the top, the old routing is disappearing so I expect there will be high demand for a clear answer.

Thanks

Outcomes