CORS (Cross-Origin Resource Sharing) errors when trying to use the OJS (Open Journal Systems) API

Describe the issue or problem: I am encountering a CORS (Cross-Origin Resource Sharing) error while trying to make requests from a client to the OJS (Open Journal Systems) 3.3.0-API. The error message indicates that the browser is blocking the request due to cross-origin restrictions.

Steps I took leading up to the issue:

  1. Attempted to make API requests from a client application.
  2. Checked the browser console for errors and observed CORS-related issues.
  3. Verified that the API requests work without issues when made from the same origin.

What application are you using: OJS 3.3.0