ASP.NET (OWIN) Introduction
This quickstart guide will walk you through the various tasks related to integrating Auth0 into your ASP.NET MVC 5 application.
If you would like to follow along with this quickstart, you can download a blank starter seed project. This is just a regular ASP.NET MVC application with a home page and a
web.config file where you can configure the various Auth0-related settings for your application.
Each of the steps in this guide contains a sample project download that shows the completion of the step. These projects can also be downloaded from the sample repository where you can find the final result for each step in the relevant folder.
Create an Application
Create an Auth0 account (or login) and add an authentication client instance from the dashboard. Once you create your client, you will be provided with credentials (Domain, Client ID, and Client Secret) which should be stored somewhere safe (do not commit this information to your git repo!). You can download the sample after you login and it will be pre-configured with your Default App credentials.
Configure Callback URLs
The Callback URL of your application is the URL where Auth0 will redirect to after the user has authenticated in order for the Auth0 OAuth2 middleware to complete the authentication process.
You will need to add this URL to the list of Allowed URLs for your application. The Callback URL for the seed project is
http://localhost:56572/signin-auth0, so be sure to add this to the Allowed Callback URLs section of your application.
If you deploy your application to a different URL you will also need to ensure to add that URL to the Allowed Callback URLs. For ASP.NET Core this URL will take the format
That's all you need to start working with Auth0!
Please continue with the Login tutorial to know how to implement basic login.