I am trying to the solve the route between 2 points and immediately buffering the route geometry.
I can able to solve the route by using the "Esri/resource-proxy" [sourcehttps://github.com/Esri/resource-proxy/releases], changed the proxy config [with routing URL, client id and client secret] and added proxy rule in my code.
I have been prompted with ArcGIS online signin popup with user name and password,
After successful authentication, I am passing the route geometry to do and show buffer. But I am getting below exception
This time I am setting ""esriConfig.defaults.io.alwaysUseProxy = false", but still this request is using proxy
Question 1: How to get rid of sign in popup? I assumed given client Id and client secret will not prompt popup.
Question 2: How to make buffer request with proxy?