Auth0 Home Blog Docs

Failed by CORS - SAML 2.0 WEB APP

Hi, I have created a user in my app and while sending a request I’m getting back an HTML page to login to validate the IDP. While login into HTML page I’m getting failed by CORS. I’m using SAML 2.0 web apps. Please help how to fix this?

This is my HTML request header

        <title>Sign In with Auth0</title>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="robots" content="noindex, nofollow">
        <link rel="shortcut icon" href="">

Below is my response

  "date": "2019-03-07T12:22:54.725Z",
  "type": "fcoa",
  "description": "Origin or referer header required.",
  "connection_id": "",
  "ip": "",
  "user_agent": "IE 11.0.0 / Windows 10.0.0",
  "details": {
    "body": {
      "client_id": "WxOO0JKJm82qxdiCOYUIIMmbWtIr6AG2",
      "username": "",
      "password": "*****",
      "realm": "Username-Password-Authentication",
      "credential_type": ""
    "qs": {},
    "connection": null,
    "error": {
      "message": "Origin or referer header required.",
      "oauthError": "Origin or referer header required.",
      "type": "invalid_request",
      "uri": null
  "hostname": "",
  "auth0_client": {
    "name": "lock.js",
    "version": "11.11.0",
    "lib_version": {
      "raw": "9.8.1"
  "log_id": "90020190307122254725331671280495929658765740344703272850",
  "isMobile": false