I am trying to deploy my app on our dev server and I get the splash screen then it asks me to log in before I can actually using the application.
I followed the steps to get the rest service list when I was testing the proxy.config file. Then, when I changed the LAN Settings to use the proxy server (to deploy on phqdevvm08 dev server) it would not work. I'm not sure if I changed something in the proxy.config or the apps config.json because it's not reading my username and password when I put it in the proxy.config.
Solved! Go to Solution.
For this, you would need to list out every service in config.json, but its okay to use the "/arcgis/rest/services" in proxy.config file if your authentication is valid for all services in REST.
Alright, am I using the username and password for arcgis server manager or am I using my arcgis online account for the proxy.config file
Ok, let's forget ArcGIS Server for now.
For clientID and clientSecret, you will use the values that are provided when you create a new application.
Here's the workflow to do that:
1. Go into ArcGIS Online.
2. Click on My Content -> Add Item -> An Application.
3. Choose "web mapping" and then under the URL, type the URL of the application where you are hosting it on IIS dev server. Then proceed to enter a title for it, a tag and then click Ok.
4. When the item is successfully added, now in item details, there should be a BLUE link in description: REGISTER.
5. Click on it to reveal a clientID and clientSecret. Copy these values into proxy.config file.
You are not encouraged to enter the username and password of ArcGIS Online in the proxy.config file. That is not considered best practice.
Do these steps and see if your browser still prompts for this credential again. If it does, there is an issue with the proxy.
Cheers,
Aravind
Does my proxy.config look right?
Is the HTTP web application included in the Redirect URI?
Yes phqdev08:6024/ppdapp is URI that keeps asking me to sign in. That's the one I am focused on.