Extensions to integrate Auth0 .NET SDK with ASP.NET Core.
-
Install the FriendlySpork package from NuGet.
-
Add the following code in your dependency injection logic (
Startup.ConfigureServices
in ASP.NET Core):
services.AddAuth0ManagementApi(options =>
{
options.Domain = "your Auth0 domain";
options.ClientId = "client id";
options.ClientSecret = "client secret";
options.ReuseAccessToken = false;
});
GitHub provided the name when creating the repository.