Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-4294

Use native HTTP requests

XMLWordPrintable

    • MOODLE_402_STABLE

      For historical reasons, some endpoints are not configured properly and throw a CORS error when requested through a browser (or a WebView, in native apps). Because of that, we are making native HTTP requests for certain situations where this happens.

      One of the times when we're still using browser requests is the login, which should work for the most part. But we've seen sites misconfigured that throw CORS errors in any endpoint, and that's a common source of issues.

      In order to minimize it, and given that we're already doing native requests in some situations, it'd be easier to just use native requests everywhere. We may still find the issues in iframes and such, but it won't be as disruptive as preventing logging in.

            Unassigned Unassigned
            noeldemartin Noel De Martin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.