WebAssembly.Authentication.Auth0 1.1.0

Install-Package WebAssembly.Authentication.Auth0 -Version 1.1.0
dotnet add package WebAssembly.Authentication.Auth0 --version 1.1.0
<PackageReference Include="WebAssembly.Authentication.Auth0" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WebAssembly.Authentication.Auth0 --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: WebAssembly.Authentication.Auth0, 1.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install WebAssembly.Authentication.Auth0 as a Cake Addin
#addin nuget:?package=WebAssembly.Authentication.Auth0&version=1.1.0

// Install WebAssembly.Authentication.Auth0 as a Cake Tool
#tool nuget:?package=WebAssembly.Authentication.Auth0&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Usage

Define app.settings

{
  "auth0": {
    "Authority": "https://***.eu.auth0.com/",
    "Audience": "***",
    "ClientId": "***",
    "ResponseType": "token id_token",
    "DefaultScopes": "email"
  }
}

Add the required services

Support for authenticating users is registered in the service container with the AddAuth0Authentication extension method provided by the this package. This method sets up the services required for the app to interact with the Identity Provider (IP).

builder.Services.AddAuth0Authentication(options =>
{
    builder.Configuration.Bind("auth0", options.ProviderOptions);
});

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.0 253 9/19/2021
1.0.1 3,338 3/26/2021
1.0.0.1 1,175 7/4/2020
1.0.0 174 7/3/2020

# 1.1.0 (19 September 2021)
- #8 .NET 6.0 Support (fixes #7): [bug]
- #7 Broken on .NET 6.0 [bug]

The full release notes can be found here: https://github.com/StefH/Blazor.WebAssembly.Authentication.Auth0/blob/master/ReleaseNotes.md