Bug
| Bug ID Number | BUG-000090121 |
|---|---|
| Submitted | August 20, 2015 |
| Last Modified | February 24, 2026 |
| Applies to | ArcGIS Web AppBuilder developer edition |
| Version found | 1.1 |
| Operating System | N/A |
| Operating System Version | N/A |
| Version Fixed | Dev 1.3 |
| Status | Fixed |
1) Pass the username, password, and domain in the proxy. config of a Microsoft .Net proxy to allow authentication for users to avoid the error “401 unauthorized."
2) Modify proxy.ashx to automatically pull and pass Windows authentication.
3) Modify ‘/jimu.js/main.js’ of the application code to add the prefix of the requesting ArcGIS for Server REST URL to Cross Origin Resource Sharing (CORS) enabled servers so that the request is never sent in the first place:
// path for service from web-tier (IWA/PKI/LDAP) ArcGIS Server
// <machine_name> is the associated
window.esri.config.defaults.io.corsEnabledServers.push({
host: "<machine_name>.<domain>",
withCredentials: true
});
Bug ID: BUG-000090121
Software:
Get help from ArcGIS experts
Download the Esri Support App