I deployed an app to my web server today and am getting an invalid redirect_uri when I try to open the app in my browser. I have the app hosted on Windows web server, and I have all my normal redirect in the App registration info. The AppID info is matching and we do not use any proxy's. Anything else that I need to check?
Solved! Go to Solution.
Andrew,
So you are sure you have added the URL for your newly deployed app on your web server to the redirects?
Frequently asked questions—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers
Andrew,
So you are sure you have added the URL for your newly deployed app on your web server to the redirects?
Frequently asked questions—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers
The URI's point to my local machine where I developed the app. Am I suppose to also add a URI to my web server?
absolutely
Hi,
I am in the same position as Andrew was. My URI points to my local machine where i developed the app. I know i need to add a redirect URI to my webserver. Can you provide an example?
Kenerson,
What is the url that you would type into the browsers address bar to access your app on your web server?
Did you add the appID to the appId property in the config.json file? (Step 6 in this list of instructions: Deploy your app—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers )
Yes, I added the AppID to the config file after I copied the data to my web server.