1.1.0 (2023-01-16)
Added
- Add support for Client Assertion #93 (frederikprijck)
Changed
- Drop .NET Core 3.1; Add .NET 7 #91 (frederikprijck)
- Drop support for .NET5 #90 (frederikprijck)
Fixed
- Update Microsoft.IdentityModel.Protocols.OpenIdConnect dependency to avoid memory leak #89 (frederikprijck)
1.0.4 (2022-09-19)
Fixed
- [SDK-3619] Do not update refresh token when rotation is disabled #81 (frederikprijck)
Fixed
- Pin version of Microsoft.IdentityModel.Protocols.OpenIdConnect #72
1.0.2 (2022-05-04)
Fixed
- Fix auto refresh issue with Refresh Tokens #67
Changed
- Add dependencies for .NET6.0 #68
1.0.1 (2022-02-14)
Changed
- Support specifying a custom scheme #59
1.0.0 (2021-09-16)
Install
Install-Package Auth0.AspNetCore.Authentication
Usage
Integrate the SDK in your ASP.NET Core application by calling AddAuth0WebAppAuthentication
in your Startup.ConfigureService
method:
services.AddAuth0WebAppAuthentication(options =>
{
options.Domain = Configuration["Auth0:Domain"];
options.ClientId = Configuration["Auth0:ClientId"];
});
Features
- Cookie & OpenIdConnect Authentication (using Implicit Flow with Form Post as the default)
- Automatic Logout URL configuration
- Retrieving Access Tokens to call an API (using Authorization Code Flow with PKCE)
- Refreshing the Access Token when expired using Refresh Tokens
- Access to all native OpenIdConnect events
Migration Guide
When your application is currently using Microsoft.AspNetCore.Authentication.OpenIdConnect
, migrating to our ASP.NET Core SDK is rather straightforward. Read our Migration Guide for more information.
1.0.0-beta.1 (2021-09-16)
Changed
- Rename SDK to Auth0.AspNetCore.Authentication #49 (frederikprijck)
1.0.0-beta.0 (2021-05-27)
Install
Install-Package Auth0.AspNetCore.Authentication -IncludePrerelease
Usage
Integrate the SDK in your ASP.NET Core application by calling AddAuth0WebAppAuthentication
in your Startup.ConfigureService
method:
services.AddAuth0WebAppAuthentication(options =>
{
options.Domain = Configuration["Auth0:Domain"];
options.ClientId = Configuration["Auth0:ClientId"];
});
Added
- Implement Basic Cookie & OpenIdConnect Authentication #7 (frederikprijck)
- Support configuring the Scopes #8 (frederikprijck)
- Support configuring the callback path #9 (frederikprijck)
- Add builder for AuthenticationProperties #11 (frederikprijck)
- Configure Auth0 logout URL #10 (frederikprijck)
- Support custom parameters #12 (frederikprijck)
- Configure User Agent #15 (frederikprijck)
- Support Audience #13 (frederikprijck)
- Save tokens to be able to retrieve them #17 (frederikprijck
- Use Implicit flow instead of Code flow #21 (frederikprijck)
- Re-add support for Code Flow to be able to retrieve Access Tokens #22 (frederikprijck
- Support Refresh Tokens #31 (frederikprijck
- Proxy all OpenId Connect Events #34 (frederikprijck
- Rework to move Access Token to
WithAccessToken()
#35 (frederikprijck - Rework Extra Parameters and support logout endpoint #37 (frederikprijck