esri/Directions authentication with ArcGIS Online

Discussion created by shoe788 on May 15, 2014
How do I setup the directions widget to use my AppID/Secret from my ArcGIS Online account?

The samples use this

esri.addProxyRule({   urlPrefix: "",   proxyUrl: "/sproxy" });

but I am unsure what the proxyURL means as I have put in a few different things in there and it has no effect. I am unsure if I need this at all. This application is public facing so I obviously want to hide my appid/secret from the public.