In auth0, there are several types of connections such as database, social, and enterprise. Database connection is the basic type of connection that allows username and password authentication. A connection represents the ways a user can be authenticated to acquire access to your app. That means the example login SPA from the previous journals requires at least one connection to work. For new accounts, you should see a default Username-Password-Authentication database connection. A database connection won’t be used unless connected to the Single Page Application (SPA). This means any type of auth0 applications that are associated to this database connection can use this to authenticate users. To make the association, go to the Applications tab of the default database connection and be sure to turn on the toggle button for the SPA.
To create a new database connection user, go to User Management > Users and click Create User.
Once done, head back to your angular SPA, click the Log In button, and fill out the credentials on the auth0 login page that follows. You should be redirected back to the app.