Protecting Static Website using Auth0 but using existing users

Hello. I am trying to protect a static website by using auth0 and I am utilizing the auth0-spa-js to do this, this one to be exact - Auth0 JavaScript SDK Quickstarts: Login

I was able to get the login page to show up but for users that have a DB connection it fails to login. I realized this is because, it is sending username-password as the connection in the payload instead of resolving it based on user. How would I go about fixing this?

auth0-spa-js

  • SDK Version: 1.13
  • Platform Version: express

I figured it out. Used the constructor for Auth0Client and provided connection as an argument.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.