Page History
...
- By default, the DSpace REST API / Backend will only trust the application at
dspace.ui.url
. Therefore, you should first verify that yourdspace.ui.url
setting (in your local.cfg) exactly matches the primary URL of your User Interface (i.e. the URL you see in the browser). This must be an exact match: mode (http vs https), domain, port, and subpath(s) all must match. - If you need to trust additional client applications / URLs, those MUST be added to the
rest.cors.allowed-origins
configuration. See REST API for details on this configuration. - Also, check your Tomcat (or servlet container) log files. If Tomcat throws a syntax or other major error, it may return an error response that triggers a CORS error. In this scenario, the CORS error is only a side effect of a larger error.
If you modify either of the above settings, you will need to restart Tomcat for the changes to take effect.
...
Overview
Content Tools