laptop and a wrench

Bug

Invalid redirect URI error 400, when upgrading from previous versions of ArcGIS GIS Server (which are federated with Portal for ArcGIS) to version 10.5.

Last Published: March 30, 2018 ArcGIS GIS Server
Bug ID Number BUG-000104582
SubmittedApril 19, 2017
Last ModifiedJune 5, 2024
Applies toArcGIS GIS Server
Version found10.5
Operating SystemWindows OS
Operating System Version2012
StatusDuplicate

Additional Information

Duplicate of BUG-000111993: The program menu shortcut created for Server Manager points at http://localhost:6080/arcgis/manager . This shortcut works fine so long as the server is not federated and the security protocol continues to include HTTP. Once the server node is federated, this program menu shortcut does not work. As documented here (https://enterprise.arcgis.com/en/server/latest/administer/windows/administer-a-federated-server.ht URL property to store the Manager URL that adheres to the 3 requirements listed above. 3) Delete the original shortcut file from C:\Program Files\Common Files\ArcGIS\Support\Shortcuts 4) Paste the new, correct shortcut file in the Shortcuts directory.

Workaround

1. Open Portal admin end point:<a href="https://machine.com:7443/arcgis/portaladmin/" target="_blank">https://machine.com:7443/arcgis/portaladmin/</a>2. Go to security/oauth/getAppInfo3. Copy the JSON file on the appInfo.. 4. Go to security/oauth/updateAppInfoPaste into the below interface, adding additional endpoints as needed. In this case, the entry that needs to be added is an additional entry for "<a href="http://server.internaldomain.com" target="_blank">server.internaldomain.com</a>". For example, the above data would change to:{"appId":"arcgisonline","redirectURIs":["<a href="https://gregp2.esri.com" target="_blank">https://gregp2.esri.com</a>","*.<a href="http://esri.com" target="_blank">esri.com</a>","*.<a href="http://arcgis.com" target="_blank">arcgis.com</a>","<a href="http://server.internaldomain.com" target="_blank">server.internaldomain.com</a>"]}Also Mentioned in this Knowledge Base Article:<a href="https://esri.my.salesforce.com/ka139000000oLsJ" target="_blank">https://esri.my.salesforce.com/ka139000000oLsJ</a>

Steps to Reproduce

Bug ID: BUG-000104582

Software:

  • ArcGIS GIS Server

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options