Configuring Allowed Origins - Configuring Allowed Origins - Other - Hyland Clinician Window - Other/Hyland-Clinician-Window/23.3/Hyland-Clinician-Window/Installation/OnBase-Healthcare-API/Configuring-the-OnBase-Healthcare-API/Configuring-Allowed-Origins - 23.3 - 23.3

Hyland Clinician Window

Platform
Other
Product
Hyland Clinician Window
Release
23.3
License
ft:lastPublication
2026-10-27T06:04:16.430547
ft:locale
en-US

By default, a web browser will not allow a web application to request resources from a component unless the component has the same origin as the web application. You can relax this restriction by configuring components for cross-origin resource sharing (CORS).

To configure allowed origins for the OnBase Healthcare API:

  1. Open appsettings.Production.json of the OnBase Healthcare API in a plain-text editor. In a default installation, this file is located in C:\Program Files\Hyland\HCOnBaseAPI.
  2. Locate the following line:
    { "AllowedOrigins": "" }
  3. Set the AllowedOrigins value to the origins allowed to request resources from the OnBase Healthcare API.

    Use semicolons to separate multiple origins, as shown in the following example:

    { "AllowedOrigins": "a.com;b.com" }
  4. Save appsettings.Production.json.
  5. Recycle the OnBase Healthcare API application pool.