Setting Up Auth0 with Our ASP.NET Backend

Learn to set up Auth0 with ASP.NET backend.

We'll cover the following

We are going to use a ready-made identity service called Auth0 in our app. Auth0 implements OIDC and is also free for a low number of users. Using Auth0 will allow us to focus on integrating with an identity service rather than spending time building our own.

In this section, we are going to set up Auth0 and integrate it into our ASP.NET backend.

Setting up Auth0

Let's carry out the following steps to set up Auth0 as our identity provider:

  1. If you haven't already got an Auth0 account, sign up at Auth0.

  2. Once we have an Auth0 account and have logged in, we need to change the default audience in our tenant settings. To get to your tenant settings, click the user avatar and choose “Settings”:

Get hands-on with 1200+ tech skills courses.