404 NotFoundError on Classic Universal Login Page with the Auth0.js SDK Embedded

Overview
After setting up a custom domain, a SPA SDK, Auth0.js, embedded in the Universal Login Page started to throw the following error:

 {"name": "NotFoundError", "statusCode":404}


 
Cause
  • It happens when a SPA makes requests to https://{CUSTM DOMAN}/usernamepassword/login 
  • overrides.__tenant option on auth0.WebAuth in the custom login page is not configured.
Solution
Set the overrides.__tenant option on auth0.WebAuth in the custom login page.
 

Related References

Recommended content

No recommended content found...