“Failed Cross Origin Authentication” with Email/Password Login on localhost

Hi there, we’re experiencing email/password authentication issues on all browsers in localhost without any error description.
No changes were made only we have started using custom domain for auth0.

library: auth0-js
Using: custom login (working fine on domain, only problem with localhost)

Below is the error log:

  "date": "2023-02-08T09:16:56.919Z",
  "type": "fcoa",
  "description": "{}",
  "connection_id": "",
  "client_id": <hidden>,
  "client_name": "<hidden>",
  "ip": "",
  "user_agent": "Chrome 109.0.0 / Linux 0.0.0",
  "details": {
    "body": {},
    "qs": {
      "client_id": <hidden>,
      "audience": <hidden>
      "response_type": "token",
      "scope": "openid profile email offline_access",
      "hasura_action_endpoint": <hidden>,
      "client_organization": "a65c2f36-54f4-4316-8039-aacdea87060c",
      "redirect_uri": "https://some.com.local.site.com:4000",
      "state": "dN_A-y9ZT-V6E4PHLhZQyD2fqymObViO",
      "response_mode": "web_message",
      "prompt": "none",
      "auth0Client": <hidden>
    "connection": "Username-Password-Authentication",
    "error": {
      "message": "{}",
      "oauthError": "access_denied",
      "type": "oauth-authorization"
    "session_connection": "Username-Password-Authentication",
    "actions": {
      "executions": [
    "stats": {
      "loginsCount": 43
  "hostname": <hidden>,
  "user_id": <hidden>,
  "audience": <hidden>,
  "scope": [
  "auth0_client": {
    "name": "auth0.js",
    "version": "9.20.1"
  "isMobile": false,
1 Like