Skip to main content
To integrate Auth0 with a single-page web app, you must first register your app with Auth0 using the Dashboard.
  1. Go to Dashboard > Applications > Applications and click Create Application.
  2. Enter a descriptive name for your application, select Single-Page Web Applications, and click Create. Once the new application is created, you can view the Application Settings page, which includes the following tabs:
    Settings TabDescription
    Quick StartShows all the available documentation for your application type.
    SettingsShows all available settings for your application. By default, most of the settings will be created for you. To learn more, read Application Settings.
    CredentialsShows the application’s authentication method and configured credentials. To learn more, read Application Credentials
    Add-onsAllows you to enable plugins associated with an application. These are typically used for SAML or WS-Fed integrations, which are not commonly needed for SPAs. To learn more, read Enable SAML2 Web App Addon and Configure WS-Fed Applications.
    ConnectionsAllows you to enable connections for your application. Connections are sources of users; they can be enabled and shared between multiple applications. To learn more, read Connections.
    OrganizationsAllows you to authenticate users into organizations to which they belong. To learn more, read Organizations.
    Login ExperienceAllows you to configure the login experience for users in your Organization. For more information, read Understand how Auth0 Organizations Work.
    To learn more, read Application Settings.

Next steps

Once you have registered your application, review and complete these configuration steps:
  • Configure at least one connection (such as a database connection or social login) and enable it for your application. Without an enabled connection, users cannot authenticate.
  • Modify your app code to use your Auth0-registered application. Review our Auth0 Quickstarts, where you’ll find detailed instructions on how to implement login and logout, handle your user sessions, retrieve and display user profile information, and more.
  • Use Auth0 APIs.
    • The Authentication API handles all primary identity-related functions (for example, login, logout, and get user profile). Most users consume this API through our Quickstarts, the Auth0 SPA SDK, or the Lock widget. For legacy applications, see the Auth0.js library. However, if you are building all of your authentication UI manually, you will have to interact with this API directly.
    • The Management API allows you to automate various tasks that can also be accessed via the Dashboard in Auth0 (for example: creating users, setting application grant types).

Learn more