Applications

An Auth0 Application represents your application in Auth0. You first need to define the Application in Auth0 to then be able to add authentication to it.

The term application does not imply any particular implementation characteristics. Your application can be a native app that executes on a mobile device, a single page app that executes on a browser, or a regular web app that executes on a server. The key point is that applications are primarily meant for human interaction, as opposed to APIs, which provide data to applications through a standardized messaging system.

Application Types

There are four application types in Auth0:

  • Native: Used for mobile, desktop or hybrid apps, than run natively in a device, like Android, iOS, Ionic, Windows, OS/X.

  • Single Page Web Applications: Used for JavaScript front-end apps that run on a browser, like Angular, jQuery or React.

  • Regular Web Applications: Used for traditional web applications that run on a server, like ASP .NET, Java, Ruby on Rails or Node.js.

  • Machine to Machine Applications: Used for server to server applications like command-line tools, daemons, IoT devices, or services running on your backend. Typically you would use this option if you have a service that requires access to an API.

Follow the links above to get more information on how to configure each one.

After creating your first application, set the environment for your tenant to: development, staging, or production. For more information refer to Set Up Multiple Environments.

Auth0 also differentiates between public and private applications, as well as first- vs. third-party applications.

How to Delete an Application

Navigate to the Application Settings and scroll to the end of the page. Under the Danger Zone section you can find the Delete Application button. This operation cannot be undone.

Once you click on the button a pop-up window will ask you to confirm the action. Click Yes, delete application to permanently remove the application.

You can also delete an application using the DELETE /api/v2/clients/{id} endpoint of the Management API.

Application Auditing

Auth0 stores log data of both actions taken in the dashboard by the administrators, as well as authentications made by your users. The logs include many of the actions performed by the user like failing to login to an application or requesting a password change. For more details refer to: Logs.

If you use a third-party application for log management, like Sumo Logic, Splunk or Loggly, you can use Auth0 Extensions to export your logs there. For details on the available extensions and how to configure them refer to: Extensions.

Dynamic Client Registration

You can use the Auth0 to programmatically create applications, as described in the OIDC Dynamic Client Registration 1.0 specification. For more details please refer to Dynamic Client Registration.

Next Steps

Once you have configured your Application, some common next steps to take are:

  • Configure a Connection and enable it for your Application. For details refer to Application Connections. For a list of the supported Identity Providers refer to Identity Providers Supported by Auth0.

  • Configure your app to use your Auth0 Application. For detailed instructions and samples for a variety of technologies, refer to our quickstarts. There you can find information on how to implement login and logout (using Lock or Auth0.js), handle your user sessions, retrieve and display user profile information, add Rules to customize your flow, and more.

    For background theory on application authentication flows, refer to Application Authentication.

  • Use our latest API Authorization features to call an API.

  • Use our APIs.

    • The Authentication API handles all the primary identity related functions (login, logout, get user profile, and so forth). Most users consume this API through our Quickstarts, the Auth0.js library or the Lock widget. However, if you are building all of your authentication UI manually you will have to interact with this API directly.

    • The Management API can be used to automate various tasks in Auth0 such as creating users.