NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet
NuGet, #1007 most downloaded on NuGet
Abstractions and primitives used by the OpenIddict components.
Latest stable
7.9.0
Last release 9 days ago
14 Nov 2026
Release timing varies
gaps range from 1 weeks to 4 months
Nearly every release is documented
notes for 54 of 54 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
56 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
A vulnerability affecting the validation of authorization entries in the OpenIddict validation stack when token entry validation is not enabled was id…
This release introduces the following changes:
A .NET 11 TFM was added to all the OpenIddict packages.
A vulnerability affecting the validation of authorization entries in the OpenIddict validation stack when token entry validation is not enabled was identified yesterday (thanks @DicksonWu654! ❤️) and fixed.
Caution
Upgrading to OpenIddict 7.9.0 or 8.0.0 preview 6 is strongly advised. See GHSA-cxgj-hwwh-855g for more information.
The OpenIddict.Client.WebIntegration package now supports the Veriqa service (thanks @Ti-B2! ❤️)
All the .NET and third-party dependencies have been updated to their latest version.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
While not recommended, this new option can be used to mitigate the recent CVE-2026-111497 vulnerability. See #2568 for more information (thanks @m3nax…
This release introduces the following changes:
A new SetAllowedDecompressionMethods() API was introduced in the System.Net.Http integration packages to limit the decompression methods they can use when extracting HTTP responses. While not recommended, this new option can be used to mitigate the recent CVE-2026-111497 vulnerability. See #2568 for more information (thanks @m3nax! ❤️)
HTTP response payloads are no longer logged by default when encountering an error. A new EnableSensitivePayloadLogging() API was added to opt out this new behavior. See #2558 for more information (thanks @zengqinglei and @m3nax! ❤️)
All the .NET and third-party dependencies have been updated to their latest version.
This release introduces the following changes:
This release introduces the following changes:
The Quartz.NET integration now uses ConfigureAllQuartzSchedulers() instead of AddQuartz() on .NET 10+ to ensure options previously configured by the user are not overwritten by OpenIddict when registering the pruning job (thanks @gabrielkim13! ❤️)
The Discord web provider was updated to use server configuration discovery, which allows the OpenIddict client to dynamically determine whether the iss parameter is allowed in the authorization responses returned by Discord (thanks @StellaAlexis! ❤️)
This release introduces the following changes:
This release introduces the following changes:
AuthenticateAsync() API when using pushed authorization requests, authorization request caching or end session request caching.A vulnerability affecting the validation of audiences contained in client assertions by the OpenIddict server stack was identified earlier today (than…
This release introduces the following changes:
Caution
Upgrading to OpenIddict 7.7 or 8.0 preview 4 is strongly advised. See GHSA-925x-4h4v-2792 for more information.
OpenIddict.Quartz package now references the 4.0 version of Quartz.NET. See https://www.quartz-scheduler.net/documentation/quartz-4.x/migration-guide.html for more information about Quartz.NET 4.0.Important
On .NET Framework and .NET Standard 2.0/2.1, the package keeps referencing the 3.x branch, as Quartz.NET 4.0 is only compatible with .NET 10 and higher.
The aud claim in client assertions can now be represented as a JSON array, as allowed by the recent versions of the Updates to OAuth 2.0 JSON Web Token (JWT) Client Authentication and Assertion-Based Authorization Grants specification.
The OpenIddict.Client.WebIntegration package now supports JoinRpg (thanks @leotsarev! ❤️)
grant_type=urn:ietf:params:oauth:grant-type:device_code token requests that don't include a client identifier are now rejected earlier by the OpenIddict server stack.
The net9.0-android, net9.0-ios, net9.0-maccatalyst and net9.0-macos target framework monikers are no longer supported by Microsoft and have been removed from the OpenIddict.Client.SystemIntegration package and the OpenIddict metapackage. Users of the OpenIddict.Client.SystemIntegration package are invited to migrate to .NET 10.0.
All the .NET and third-party dependencies have been updated to their latest version.
The System.Interactive.Async dependency (used only on .NET Framework and .NET Standard) was downgraded to 3.2.0 to fix a TypeLoadException that prevented using the OpenIddict Entity Framework Core 2.3 stores on .NET Framework after migrating to OpenIddict 7.6.0.
This release introduces the following changes:
This release introduces the following changes:
The GitHub web provider was fixed to support the iss parameter now returned by GitHub. As part of this change, the issuer was also changed to https://github.com/login/oauth, which is the value now officially used by GitHub.
The ReplaceDefault*Entity() methods exposed by OpenIddictMongoDbBuilder now register the stores as singleton services instead of scoped services.
The client system integration was updated to always attach an IASWebAuthenticationPresentationContextProviding object to the ASWebAuthenticationSession on Mac Catalyst and macOS, matching the logic already used on iOS (thanks @amirburbea for reporting this issue).
This release introduces the following changes:
This release introduces the following changes:
The Entity Framework 6.x and Entity Framework Core stores have been updated to automatically restore the EntityState of token entities after failed application deletion (thanks @tedchirvasiu! ❤️)
The OpenIddict.Client.WebIntegration package now supports Vercel and ID Austria (thanks @kescherCode! ❤️)
All the .NET and third-party dependencies have been updated to their latest version.
For more information about the CVE-2026-40372 vulnerability and to determine whether your application is affected, read https://github.com/dotnet/anno…
[!CAUTION] Earlier today, the ASP.NET team released an out-of-band 10.0.7 update to fix a critical vulnerability in the ASP.NET Core Data Protection library used by OpenIddict and multiple components in ASP.NET Core itself (including the cookie authentication handler). For more information about the CVE-2026-40372 vulnerability and to determine whether your application is affected, read https://github.com/dotnet/announcements/issues/395 and https://devblogs.microsoft.com/dotnet/dotnet-10-0-7-oob-security-update/. Additional information can also be found in https://github.com/dotnet/aspnetcore/issues/66335.
If your application is affected by the CVE-2026-40372 vulnerability, immediate action is strongly advised: not updating impacted applications will leave them vulnerable to chosen-ciphertext and padding oracle attacks, resulting in elevation of privilege attacks being possible.
Recommended actions:
If possible, review your application/web server/reverse proxy logs to determine whether the security flaw was actively used by malicious actors to leak sensitive cryptographic material or to manipulate legitimate authentication cookies/tokens by changing specific bits in the ciphertext.
Apply the recommendations listed in https://github.com/dotnet/announcements/issues/395 by revoking all the existing ASP.NET Core Data Protection master keys (e.g using the
IKeyManager.RevokeAllKeys()API): doing so will ensure secrets protected before migrating to the fixedMicrosoft.AspNetCore.DataProtectionversion - including authentication cookies produced by the ASP.NET Core cookie authentication handler (and ASP.NET Core Data Protection tokens generated by OpenIddict if the JWT format was opted out) - will be immediately rejected when trying to unprotect them.Even if you're not using ASP.NET Core Data Protection as the token format for any type of token in OpenIddict, revoke all the existing OpenIddict tokens using the
IOpenIddictTokenManager.RevokeAsync()API to force client applications to acquire new sets of tokens for all their users: doing so will ensure refresh tokens generated by the OpenIddict server will be rejected when trying to redeem them. While this will force users to re-execute an authorization flow and re-authenticate, this step is essential to ensure chains of tokens generated fromClaimsPrincipalinstances whose claims were directly copied or indirectly inferred from ambient user identities (typically persisted in authentication cookies protected by ASP.NET Core Data Protection) will not live forever and will be rejected when trying to redeem them.await using (var scope = app.Services.CreateAsyncScope()) { // Revoke all the existing tokens, independently of their current status or type. // // Note: on EF Core 8.0+ and MongoDB, the process should be very efficient as batch // updates are used by default to change the status of the tokens in the database. var manager = scope.ServiceProvider.GetRequiredService<IOpenIddictTokenManager>(); await manager.RevokeAsync(subject: null, client: null, status: null, type: null); }
This release introduces the following changes:
The ClaimTypes.NameIdentifier, ClaimTypes.Name and ClaimTypes.Email WS-Federation claims manually added to ProcessAuthenticationContext.MergedPrincipal are now preserved instead of being overwritten by OpenIddict when mapping OpenID Connect/non-standard claims to their WS-Federation equivalent (thanks @ax0l0tl! ❤️)
The net8.0, net9.0 and net10.0 versions of the OpenIddict.Client.DataProtection, OpenIddict.Server.DataProtection and OpenIddict.Validation.DataProtection packages now reference the Microsoft.AspNetCore.DataProtection package instead of the Microsoft.AspNetCore.App framework.
Configuration delegates registered by the web provider integrations now run earlier to ensure invalid options are caught without waiting for IOptionsMonitor<OpenIddictClientOptions>.CurrentValue to be called.
All the .NET and third-party dependencies have been updated to their latest version.
[!NOTE] The ASP.NET team recently announced that ASP.NET Core 2.3 will no longer be supported after April 2027, which will result in important TFM and dependencies changes in the next version of OpenIddict. Developers using the OpenIddict packages in .NET Framework applications or in .NET Standard libraries are invited to read these threads and evaluate whether their applications may be affected by these changes:
This release introduces the following changes:
This release introduces the following changes:
The new mTLS-based OAuth 2.0 client authentication feature introduced in the previous version can now be used with the standard client credentials grant.
The mTLS token binding implementation was updated to support anonymous clients (in this case, the base SelfSignedTlsClientAuthenticationPolicy instance attached to the server options is directly used and the IOpenIddictApplicationManager.GetSelfSignedTlsClientAuthenticationPolicyAsync()/IOpenIddictApplicationManager.ValidateSelfSignedTlsClientCertificateAsync() APIs are not used).
The OpenIddict.Client.SystemIntegration package now restores the ambient request for marshalled authentication demands so that the OpenIddictRequest instance can be accessed from a custom event handler during a call to the AuthenticateInteractivelyAsync() method.
A new DisableIssuerParameterValidation flag was introduced to allow disabling the built-in logic used to validate the iss authorization response parameter. Due to https://github.com/openiddict/openiddict-core/issues/2428, this flag is set to true for the Google provider for now.
> Multiple reports indicate that Google is progressively applying a breaking change affecting the Google web provider offered by the OpenIddict.Client…
This release introduces the following changes:
Mutual TLS authentication is now fully supported by the server and validation stacks for both OAuth 2.0 client authentication and token binding (mTLS support in the client stack was introduced in OpenIddict 6.0). For more information on how to set up mTLS, read Mutual TLS authentication.
Client secrets are still fully supported but the XML documentation was updated to discourage using them when possible. Instead, developers are encouraged to use either assertion-based client authentication or mTLS-based client authentication, as both offer a higher security level than shared secrets.
Client-side mTLS support was moved from OpenIddict.Client.SystemNetHttp to OpenIddict.Client and is now a first-class citizen. As part of this task, the existing TlsClientAuthenticationCertificateSelector and SelfSignedTlsClientAuthenticationCertificateSelector options present in OpenIddictClientSystemNetHttpOptions and OpenIddictValidationSystemNetHttpOptions have been marked as deprecated and are no longer used as they didn't allow flowing certificates dynamically (which is required for mTLS token binding using certificates generated on-the-fly). Instead, developers who need to dynamically override the default TLS client certificates selection logic are now invited to create custom event handlers for the ProcessAuthenticationContext event and use the new *EndpointClientCertificate properties.
OpenIddictClientService now allows attaching custom token request parameters via InteractiveAuthenticationRequest.AdditionalTokenRequestParameters. As part of this change, handling of redirection and post-logout redirection requests by the OpenIddict.Client.SystemIntegration has been improved: token and userinfo requests are no longer sent as part of the callback request itself but when OpenIddictClientService.AuthenticateInteractivelyAsync() is called by the application to finalize the authentication process.
OpenIddict now uses 4096-bit RSA keys for development certificates and ephemeral keys (see https://github.com/openiddict/openiddict-core/issues/2415 for more information).
A new token validation check has been introduced in the client, server and validation stacks to detect when the payload associated with a reference token entry - stolen by a malicious actor from the server database - is directly used instead of the expected reference identifier.
The osu! service is now supported by the OpenIddict.Client.WebIntegration package (thanks @gehongyan! ❤️).
A dedicated prompt setting was added to the Google web provider (thanks @StellaAlexis! ❤️).
An incorrect exception message reference was fixed (thanks @JarieTimmer! ❤️)
The entire code base was updated to use polyfills when targeting older .NET/.NET Framework/.NET Standard targets.
All the .NET and third-party dependencies have been updated to the latest versions.
[!WARNING] Multiple reports indicate that Google is progressively applying a breaking change affecting the Google web provider offered by the
OpenIddict.Client.WebIntegrationpackage. For more information on the root cause and the recommended workaround, see https://github.com/openiddict/openiddict-core/issues/2428 and https://issuetracker.google.com/issues/479882107.
This release introduces the following changes:
This release introduces the following changes:
Following today's .NET 10.0 release, all the OpenIddict packages now offer a .NET 10.0 target framework moniker referencing .NET Extensions packages version 10.0.
OpenIddict.Client.WebIntegration now supports Figma.
The net8.0-android34.0, net8.0-ios18.0, net8.0-maccatalyst18.0 and net8.0-macos15.0 target framework monikers are no longer supported by Microsoft and have been removed from the OpenIddict.Client.SystemIntegration package and the OpenIddict metapackage. Users of the OpenIddict.Client.SystemIntegration package are invited to migrate to .NET 9.0 or 10.0.
[!TIP] As part of this change, the
net9.0-android35.0,net9.0-ios18.0,net9.0-maccatalyst18.0andnet9.0-macos15.0TFMs have been replaced bynet9.0-android,net9.0-ios,net9.0-maccatalystandnet9.0-macos.New
net10.0-android,net10.0-ios,net10.0-maccatalystandnet10.0-macosTFMs have also been added.
OpenIddict*Manager.UpdateAsync() methods have been updated to remove cached entries before calling Store.UpdateAsync() to ensure entities are always removed even when the inner store throws an exception.This release introduces the following changes:
This release introduces the following changes:
[!TIP] No change is required to enable PKCE for a specific client application (whether it is a treated as a public or confidential application): updating OpenIddict to 7.1.0 is enough to automatically enforce this security feature.
For more information, read PKCE support for OAuth and GitHub App authentication on the official GitHub blog.
The HeyBoxChat service is now supported by the OpenIddict.Client.WebIntegration package (thanks @gehongyan! ❤️)
New AddGrantTypePermissions()/RemoveGrantTypePermissions() APIs have been added to OpenIddictApplicationDescriptor to simplify adding and removing grant type permissions for custom grants:
var descriptor = new OpenIddictApplicationDescriptor
{
ClientId = "console",
// ...
};
descriptor.AddGrantTypePermissions("custom_grant_type");
descriptor.AddScopePermissions("demo_api");
For more information about this release, read OpenIddict 7.0 is out.
For more information about this release, read OpenIddict 7.0 is out.
This release introduces the following changes:
This release introduces the following changes:
Support for client authentication - client_secret_basic, client_secret_post and private_key_jwt - was added to the PAR endpoint, which allows rejecting unauthenticated requests without waiting until the token request is processed.
The OpenIddict.Client.WebIntegration package now supports Bungie.net.
Parsing of the standard WWW-Authenticate HTTP response header by the client and validation stacks was improved.
The OpenIddict client OWIN integration was updated to resolve the IAppBuilder instance from the DI container: when it is available, the ICookieManager attached to the application properties (by the host, typically) is automatically used instead of the default CookieManager implementation.
[!NOTE] See https://github.com/aspnet/AspNetKatana/pull/486 for more information.
The portable, non-OS specific version of the OpenIddict.Client.SystemIntegration package can now be used on macOS (in this case, ASWebAuthenticationSession is not supported and only the system browser authentication mode can be used).
All the .NET and third-party dependencies have been updated to the latest versions.
This release introduces the following changes:
This release introduces the following changes:
Two new providers have been added to the list of providers already supported by the OpenIddict.Client.WebIntegration package:
The web providers source code generator now generates constant strings for the static settings defined by some providers (e.g regions):
options.UseWebProviders()
.AddShopify(options =>
{
options.SetClientId("[client identifier]")
.SetClientSecret("[client secret]")
.SetAccessMode(OpenIddictClientWebIntegrationConstants.Shopify.AccessModes.Online);
})
.AddStripeConnect(options =>
{
options.SetClientId("[client identifier]")
.SetClientSecret("[client secret]")
.SetAccountType(OpenIddictClientWebIntegrationConstants.StripeConnect.AccountTypes.Express);
})
.AddZoho(options =>
{
options.SetClientId("[client identifier]")
.SetClientSecret("[client secret]")
.SetRegion(OpenIddictClientWebIntegrationConstants.Zoho.Regions.EuropeanUnion);
});
x.com endpoints, which avoids forcing users to authenticate on twitter.com before being redirected to x.com to continue the authorization process on the new domain.[!NOTE] As part of this change, the default display name of the X/Twitter provider was changed to
X (Twitter). Developers who prefer a different display name can override the default one using the dedicatedoptions.SetProviderDisplayName(...)API:options.UseWebProviders() .AddTwitter(options => { options.SetClientId("[client identifier]") .SetRedirectUri("callback/login/twitter") .SetProviderDisplayName("Twitter"); });
The Alibaba/Battle.net/Cognito/Lark/Zoho providers now throw an exception when an invalid region is configured instead of using the default value when an unrecognized region is explicitly set.
The Zoho provider was updated to support the new United Kingdom region (https://accounts.zoho.uk/).
This release introduces the following changes:
This release introduces the following changes:
mtls_endpoint_aliases node is returned but doesn't include all the supported endpoints (thanks @pctimhk for reporting it! ❤️).This release introduces the following changes:
This release introduces the following changes:
The client/server/validation ASP.NET Core/OWIN hosts now use Uri.TryCreate() instead of new Uri() to compute the base and request URIs, which avoids throwing an exception when they can't be computed ; for instance when the length of the internal buffer exceeds the limit allowed by the BCL System.Uri type (thanks to @tarunmathew12 from the Microsoft Healthcare team for reporting this issue! ❤️)
4 new providers have been added to OpenIddict.Client.WebIntegration:
This release introduces the following changes:
This release introduces the following changes:
client_id parameter to be rejected when enabling end session request caching was fixed (thanks @miegir for reporting it! ❤️)This release introduces the following changes:
This release introduces the following changes:
request_uri attached. PAR has recently gained traction and is now supported by some OAuth 2.0 services and libraries (including Keycloak and Microsoft's ASP.NET Core OpenID Connect handler starting in .NET 9.0).[!TIP] For more information on how to use OAuth 2.0 Pushed Authorization Requests in OpenIddict, read Pushed Authorization Requests.
request_id parameter has been replaced by request_uri. While cached requests were persisted using IDistributedCache in previous versions, they are now stored in request tokens and persisted in OpenIddict's tokens table with the other tokens.[!NOTE] The
EnableAuthorizationRequestCachingandEnableEndSessionRequestCachingoptions have been moved fromOpenIddictServerAspNetCoreOptionsandOpenIddictServerOwinOptionstoOpenIddictServerOptions(the original options are no longer honored). The corresponding methods inOpenIddictServerAspNetCoreBuilderandOpenIddictServerOwinBuilderare still functional - they internally use the new properties - but are now obsolete.
OpenIddict.Client.WebIntegration package (thanks @gehongyan and @t1moH1ch! ❤️).[!NOTE] With these new providers, the OpenIddict client now supports 100 web services! 🎉
The InteractiveChallengeRequest and InteractiveSignOutRequest models have been updated to allow easily attaching an identity token or login hint to authorization and end session requests.
The OpenIddict*AuthorizationStore.PruneAsync() implementations were updated to always exclude permanent authorizations that still have tokens attached, which should reduce risks of seeing SQL exceptions when one of the pruned authorizations still has children entities attached.
An issue affecting the OpenIddictEntityFrameworkCoreAuthorizationStore.FindByApplicationIdAsync() API was identified and fixed (thanks @simon-wacker! ❤️)
For more information about this release, read OpenIddict 6.0 general availability.
For more information about this release, read OpenIddict 6.0 general availability.
The OpenIddict.Client.SystemNetHttp and OpenIddict.Validation.SystemNetHttp packages have been updated to anticipate a breaking change introduced in t…
This release introduces the following changes:
The OpenIddict client system integration now natively supports Android API 21+ (Android 5.0 and higher), iOS 12.0+, macOS 10.15+ and Mac Catalyst 13.1+. See Operating systems integration for more information.
Behavior change: the OpenIddict.Client.SystemIntegration package was updated to produce shorter default pipe names (which is required on macOS where strict length restrictions are enforced).
The OpenIddict.Client.SystemNetHttp and OpenIddict.Validation.SystemNetHttp packages have been updated to anticipate a breaking change introduced in the 9.0 version of Microsoft.Extensions.Http. See https://github.com/dotnet/runtime/issues/35987#issuecomment-2219613018 for more information.
6 new web providers were added to OpenIddict.Client.WebIntegration:
OpenIddict now uses Microsoft.IdentityModel 8.x on .NET 8.0 and higher.
The OpenIddict.EntityFramework package now uses EntityFramework 6.5.1 as the minimum version.
The LinkedIn integration was updated to react to a breaking change introduced by LinkedIn in their discovery document and that was causing an issuer v…
This release introduces the following changes:
https://www.linkedin.com/ to https://www.linkedin.com/oauth (thanks @DovydasNavickas! ❤️).[!IMPORTANT] If your code relies on the issuer identity, make sure you update your code/database to use
https://www.linkedin.com/oauthinstead ofhttps://www.linkedin.com/.
This release introduces the following changes:
This release introduces the following changes:
To increase interoperability and support advanced scenarios, the OpenIddict server now allows using OAuth 2.0 Proof Key for Code Exchange with response_type combinations containing token when response type permissions are not disabled and the appropriate response type permissions are granted to the client application. See https://github.com/openiddict/openiddict-core/pull/2088 for more information about this change.
The embedded web server that is part of the OpenIddict client system integration package now natively supports POST callbacks, allowing to use the implicit and hybrid flows - that require response_mode=form_post - in desktop applications.
response_mode=fragment is now fully supported by the system integration package when using protocol activations or the UWP web authentication broker.
The OpenIddict client and its ASP.NET Core/OWIN integrations now support setting a specific code_challenge_method/grant_type/response_mode/response_type for each challenge operation:
// Ask OpenIddict to initiate the authentication flow (typically, by starting the system browser).
var result = await _service.ChallengeInteractivelyAsync(new()
{
// Note: both the grant type and the response type MUST be set when using a specific flow:
GrantType = GrantTypes.AuthorizationCode,
ResponseType = ResponseTypes.Code + ' ' + ResponseTypes.IdToken
});
var properties = new AuthenticationProperties(new Dictionary<string, string>
{
// Note: both the grant type and the response type MUST be set when using a specific flow:
[OpenIddictClientAspNetCoreConstants.Properties.GrantType] = GrantTypes.AuthorizationCode,
[OpenIddictClientAspNetCoreConstants.Properties.ResponseType] = ResponseTypes.Code + ' ' + ResponseTypes.IdToken
})
{
RedirectUri = Url.IsLocalUrl(returnUrl) ? returnUrl : "/"
};
return Challenge(properties, OpenIddictClientAspNetCoreDefaults.AuthenticationScheme);
The following providers are now supported by the OpenIddict.Client.WebIntegration package:
Behavior change: for boolean values, OpenIddictParameter.ToString() and the string?/string?[]? conversion operators now return true and false instead of True and False.
The OpenIddict client was updated to detect incorrect uses of its system integration package in non-desktop applications and return proper errors.
This release introduces the following changes:
This release introduces the following changes:
The core, client, server and validation stacks now use System.TimeProvider on .NET 8.0+ (thanks @trejjam! ❤️).
While manually setting OpenIddictClientRegistration.CodeChallengeMethods, OpenIddictClientRegistration.GrantTypes, OpenIddictClientRegistration.ResponseModes or OpenIddictClientRegistration.ResponseTypes is not necessary or recommended in most cases (as OpenIddict automatically negotiates the best values automatically), specific scenarios sometimes require restricting the allowed values. To make that easier, new (advanced) APIs were added to the web provider builders:
options.UseWebProviders()
.AddMicrosoft(options =>
{
// ...
options.AddCodeChallengeMethods(CodeChallengeMethods.Sha256)
.AddGrantTypes(GrantTypes.AuthorizationCode, GrantTypes.Implicit)
.AddResponseModes(ResponseModes.FormPost)
.AddResponseTypes(ResponseTypes.Code + ' ' + ResponseTypes.IdToken);
});
options.UseAspNetCore()
.DisableAccessTokenExtractionFromAuthorizationHeader()
.DisableAccessTokenExtractionFromBodyForm()
.DisableAccessTokenExtractionFromQueryString();
options.UseOwin()
.DisableAccessTokenExtractionFromAuthorizationHeader()
.DisableAccessTokenExtractionFromBodyForm()
.DisableAccessTokenExtractionFromQueryString();
Behavior change: the claim value type validation logic was fixed to support JSON_ARRAY claims. As part of this change, the ClaimsIdentity.GetClaims()/ClaimsPrincipal.GetClaims() extensions have been updated to support JSON_ARRAY claims and return all the values contained in the array.
A bug preventing the OpenIddict client from using the OpenID Connect implicit flow was fixed.
The Clever provider was updated to not require a backchannel identity token (thanks @anarian! ❤️).
The Auth0 and Microsoft Account/Entra ID providers were fixed to list implicit as a supported grant type.
This release introduces the following changes:
This release introduces the following changes:
OpenIddictClientAspNetCoreConstants.Properties.Scope property must be added to the AuthenticationProperties.Items collection with the space-separated list of scopes that should be attached to the authorization request:var properties = new AuthenticationProperties();
// Override the scopes configured globally for this challenge operation.
properties.SetString(OpenIddictClientAspNetCoreConstants.Properties.Scope, "api_1_scope api_2_scope");
return Challenge(properties, Providers.GitHub);
OpenIddict.Client.WebIntegration.This release introduces the following changes:
This release introduces the following changes:
options.AllowCustomFlow("my-custom-grant-type");
var result = await _service.AuthenticateWithCustomGrantAsync(new()
{
AdditionalTokenRequestParameters = new()
{
["my-custom-parameter"] = "value"
},
CancellationToken = stoppingToken,
GrantType = "my-custom-grant-type",
ProviderName = provider,
Scopes = [Scopes.OfflineAccess]
});
[!NOTE] When using a custom grant type, the following logic is enforced by default:
- A token request is always sent.
- An access token MUST be returned by the authorization server as part of the token response.
- An identity token MAY be returned by the authorization server as part of the token response but it's not mandatory (in this case, OpenIddict will resolve it and extract the principal it contains, but won't reject the response if it's invalid).
- A refresh token MAY be returned by the authorization server as part of the token response but it's not mandatory.
- A userinfo request is always sent when an access token was returned and a userinfo endpoint is available, unless userinfo retrieval was explicitly disabled when calling
AuthenticateWithCustomGrantAsync().
options.SetUserCodeLength(7);
[!IMPORTANT] For security reasons, OpenIddict will throw an
ArgumentOutOfRangeExceptionif you try to configure a length that is less than 6 characters.
options.SetUserCodeCharset(
[
"B", "C", "D", "F", "G", "H", "J", "K", "L", "M",
"N", "P", "Q", "R", "S", "T", "V", "W", "X", "Z"
]);
[!TIP] All characters are allowed - including emojis - as long as they represent exactly one extended grapheme cluster (note: non-ASCII characters are only supported on .NET 6.0 and higher).
[!IMPORTANT] For security reasons, OpenIddict will throw an
ArgumentOutOfRangeExceptionif you try to configure a charset that includes less than 9 characters.
options.SetUserCodeDisplayFormat() API:options.SetUserCodeDisplayFormat("{0}{1} - {2}{3}{4} - {5}{6}");
[!TIP] If no value is explicitly set, OpenIddict will use the same format as in previous versions (i.e multiple groups of characters separated by dashes).
User codes are now re-formatted automatically: developers who want to display them (e.g for a confirmation form) are invited to retrieve them using result.Properties.GetTokenValue(OpenIddictServerAspNetCoreConstants.Tokens.UserCode) - so that a properly formatted code is displayed - instead of using OpenIddictRequest.UserCode.
The following providers are now supported by OpenIddict.Client.WebIntegration:
This release introduces the following changes:
This release introduces the following changes:
OpenIddict.Client.SystemIntegration package. To support this new feature, a new SignOutInteractivelyAsync() API (similar to the existing ChallengeInteractivelyAsync() API used to start a new authentication flow) has been added to OpenIddictClientService:// Ask OpenIddict to initiate the logout flow (typically, by starting the system browser).
var result = await _service.SignOutInteractivelyAsync(new()
{
CancellationToken = stoppingToken,
ProviderName = provider
});
var result = await _service.IntrospectTokenAsync(new()
{
CancellationToken = stoppingToken,
ProviderName = provider,
Token = response.BackchannelAccessToken,
TokenTypeHint = TokenTypeHints.AccessToken
});
[!IMPORTANT] As part of this change, the introspection implementation of the validation stack was reworked to be consistent with its new client counterpart. Most notably, the
ValidateTokenevent is no longer invoked for introspected tokens (a change that had been introduced in OpenIddict 5.0): developers who want to apply custom logic to introspected tokens/principals are invited to use theProcessAuthenticationevent instead.
var result = await _service.RevokeTokenAsync(new()
{
CancellationToken = stoppingToken,
ProviderName = provider,
Token = response.BackchannelAccessToken,
TokenTypeHint = TokenTypeHints.AccessToken
});
[!NOTE] The Apple, DeviantArt, Discord, Reddit, Trakt and Zoom web providers have been updated to support token revocation.
OpenIddict.Client.SystemNetHttp and OpenIddict.Validation.SystemNetHttp packages now natively support Microsoft.Extensions.Http.Resilience and use a ResiliencePipeline<HttpResponseMessage> by default (unless an IAsyncPolicy<HttpResponseMessage> was explicitly configured by the user).[!TIP] If necessary, the default resilience pipeline can be easily overridden using the
SetHttpResiliencePipeline()API:options.UseSystemNetHttp(options => options.SetHttpResiliencePipeline(options => { options.AddRetry(new HttpRetryStrategyOptions { BackoffType = DelayBackoffType.Exponential, Delay = TimeSpan.FromSeconds(1), MaxRetryAttempts = 2 }); options.AddCircuitBreaker(new HttpCircuitBreakerStrategyOptions { BreakDuration = TimeSpan.FromSeconds(10), FailureRatio = 0.9, MinimumThroughput = 5, SamplingDuration = TimeSpan.FromSeconds(5) }); }));
10 new web providers have been added to the OpenIddict.Client.WebIntegration package:
The Spotify provider was updated to use PKCE (OAuth 2.0 Proof Key for Code Exchange).
UWP support in OpenIddict.Client.SystemIntegration is now provided via a dedicated uap10.0.17763 TFM.
[!IMPORTANT] As part of this change, the
netstandard2.0andnetstandard2.1versions ofOpenIddict.Client.SystemIntegrationhave been updated to stop using the Windows Runtime APIs (internally used to launch the system browser, integrate with the web authentication broker or handle protocol activations).The
net461,net472,net48,net6.0-windows10.0.17763,net7.0-windows10.0.17763ornet8.0-windows10.0.17763versions ofOpenIddict.Client.SystemIntegrationstill use these APIs internally - with runtime checks in place to ensure older platforms are still supported - so non-UWP Windows applications should behave the same way as in previous versions.
This release introduces the following changes:
This release introduces the following changes:
The client stack now maps ClaimTypes.Name from the standard OpenID Connect name claim when no preferred_username is present.
A merged principal containing the claims extracted from the userinfo response and the identity token (if available) is now automatically created by OpenIddict during the refresh token flow processing and exposed via RefreshTokenAuthenticationResult.Principal.
Amazon and Exact Online are now supported by OpenIddict.Client.WebIntegration.
A bug that prevented attaching a specific token lifetime when using ASP.NET Core Data Protection tokens was identified and fixed (thanks @schneini for reporting it!)
The EF 6 and EF Core stores have been optimized to avoid sending unnecessary database queries when creating new authorization and token entries (thanks @Elfster for the suggestion!). The OpenIddictEntityFramework(Core)*Store.FindBy*Async() methods that return a single result have also been updated to try to resolve the entity from the change tracker before sending a query.
This release introduces the following changes:
This release introduces the following changes:
Behavior change: the ClaimsIdentity.GetClaim()/ClaimsPrincipal.GetClaim() extension now throws an InvalidOperationException when multiple claims of the same type were found in the identity/principal (instead of returning the first value and ignoring the other ones as in previous versions). See https://github.com/openiddict/openiddict-core/pull/1957 for more information.
Behavior change: the server stack now automatically aborts sign-in operations that specify a ClaimsPrincipal containing a well-known claim with an invalid cardinality or an incorrect value type attached (e.g multiple sub claims or a sub claim created with ClaimValueTypes.Integer instead of ClaimValueTypes.String). See https://github.com/openiddict/openiddict-core/issues/1956 for more information.
Client assertions that don't specify an optional iat claim are no longer rejected by the server stack.
A new OpenIddictClientService.GetClientRegistrationsAsync() API was introduced to allow resolving the client registrations in a dynamic way, which can be used in non-ASP.NET Core/OWIN applications (e.g console or desktop applications) to easily list the supported web providers:
var provider = AnsiConsole.Prompt(new SelectionPrompt<OpenIddictClientRegistration>()
.Title("Select the authentication provider you'd like to log in with.")
.AddChoices(from registration in await _service.GetClientRegistrationsAsync(stoppingToken)
where !string.IsNullOrEmpty(registration.ProviderName)
where !string.IsNullOrEmpty(registration.ProviderDisplayName)
select registration)
.UseConverter(registration => registration.ProviderDisplayName!)).ProviderName!;
A new DisableUserinfo property was added to RefreshTokenAuthenticationRequest to allow disabling userinfo for specific refresh token requests (e.g when using refresh tokens with the client credentials grant).
The client and server stacks have been updated to automatically restore the authentication properties initially set by the application (via ProcessChallengeContext.Properties or ProcessSignOutContext.Properties) and attach them to the authentication context (ProcessAuthenticationContext.Properties). This scenario was already supported by the ASP.NET Core and OWIN hosts, but is now supported for all integrations, including OpenIddict.Client.SystemIntegration and OpenIddict.Client.WebIntegration:
// Ask OpenIddict to initiate the authentication flow (typically, by starting the system browser).
var result = await _service.ChallengeInteractivelyAsync(new()
{
CancellationToken = stoppingToken,
ProviderName = provider,
Properties = new()
{
["custom_property"] = "value"
}
});
// Wait for the user to complete the authorization process.
var response = await _service.AuthenticateInteractivelyAsync(new()
{
CancellationToken = stoppingToken,
Nonce = result.Nonce
});
var property = response.Properties["custom_property"];
The following providers have been added to the OpenIddict.Client.WebIntegration package:
The Twitter integration now automatically maps the name userinfo claim to its ClaimTypes.Name equivalent.
The Microsoft.IdentityModel.* packages have been updated to 7.2.0 to address a security issue. See https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/security/advisories/GHSA-8g9c-28fc-mcx2 for more information.
References to Azure Active Directory in the code documentation have been replaced by "Microsoft Entra ID" to match the new name of the service (see https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/azure-ad-is-becoming-microsoft-entra-id/ba-p/2520436 for more information).
This release introduces the following changes:
This release introduces the following changes:
For more information about this release, read OpenIddict 5.0 general availability.
For more information about this release, read OpenIddict 5.0 general availability.
This release introduces the following changes:
This release introduces the following changes:
OpenIddictClientService.ChallengeUsingDeviceAsync() and OpenIddictClientService.AuthenticateWithDeviceAsync() APIs from flowing the additional device authorization request/token request parameters set by the application was identified and fixed (thanks @hangy for reporting it! ❤️)This release introduces the following changes:
This release introduces the following changes:
All the OpenIddict packages now target .NET 8.0 (.NET Standard 2.0/2.1, .NET Core 3.1, .NET 6.0/7.0 and .NET Framework 4.6.1+ are still fully supported).
A Zoom.us integration was added to OpenIddict.Client.WebIntegration.
The authentication results returned by OpenIddictClientService now expose the expiration date of access tokens (thanks @davhdavh! ❤️)
This release introduces the following changes:
This release introduces the following changes:
An Auth0 provider integration was added to OpenIddict.Client.WebIntegration (thanks @pableess! ❤️)
OpenIddictClientService.AuthenticateWithDeviceAsync() was fixed to honor DeviceAuthenticationRequest.Scopes.
The userinfo validation logic was improved to be compatible with more OAuth 2.0-only scenarios.
This release introduces the following changes:
This release introduces the following changes:
The OpenIddict server stack was updated to be compatible with the new Microsoft.IdentityModel.* 7.0 packages (that now use System.Text.Json instead of an internal copy of JSON.NET). Users migrating to Microsoft.IdentityModel.* 7.0 are strongly encouraged to bump OpenIddict to 4.8.0 at the same time to avoid compatibility issues (e.g missing claims).
2 new providers have been added to OpenIddict.Client.WebIntegration:
The OpenIddict.*.DataProtection packages have been updated to support custom IDataProtectionProvider instances that don't use the default magic header (thanks @sbolofsson! ❤️)
Special thanks to the IdentityModel team for the effort they put into Microsoft.IdentityModel.* 7.0 and for being extremely attentive to the community feedback 👏🏻
Behavior breaking change: the userinfo claims returned by the Patreon and Streamlabs providers are no longer flattened. Users of these providers are i…
This release introduces the following changes:
[!NOTE] These changes are expected to drastically simplify using the OpenIddict client and its web integration companion package as drop-in replacements for the Microsoft OIDC/OAuth 2.0 handlers and the aspnet-contrib social providers. The aspnet-contrib providers are still supported, but the OpenIddict providers are now the recommended option for most scenarios.
OpenIddictClientRegistration.ProviderName attached, which allows calling the ASP.NET Core IAuthenticationService APIs (or the equivalents in IAuthenticationManager for OWIN) directly using the provider name instead of having to specify it as an authentication property:app.MapGet("redirect-to-github", () => Results.Challenge(properties: null, authenticationSchemes: new[] { Providers.GitHub }));
OpenIddictClientRegistration.ProviderDisplayName attached - which is the case for all the built-in web providers by default - will now be returned by ASP.NET Core Identity's SignInManager.GetExternalAuthenticationSchemesAsync() API and will automatically appear in the "external providers" list that is part of the default Identity UI:services.AddOpenIddict()
.AddClient(options =>
{
options.UseAspNetCore()
.DisableAutomaticAuthenticationSchemeForwarding();
});
services.AddOpenIddict()
.AddClient(options =>
{
options.UseOwin()
.DisableAutomaticAuthenticationTypeForwarding();
});
ClaimTypes.Name, ClaimTypes.NameIdentifier and ClaimTypes.Email equivalent, which will improve the compatibility with libraries like ASP.NET Core Identity that use hardcoded ClaimTypes/WS-Federation claims (note: unlike the Microsoft/aspnet-contrib handlers, the original claim types are not removed from the final principal). This feature is enabled by default and can be disabled manually if necessary:services.AddOpenIddict()
.AddClient(options =>
{
options.DisableWebServicesFederationClaimsMapping();
});
To match the logic used by the Microsoft ASP.NET Core OIDC handler, the expiration dates of the backchannel and frontchannel access tokens (when available) are now stored as special properties in AuthenticationProperties.
3 new providers have been added to OpenIddict.Client.WebIntegration:
The Shopify provider now allows setting a static shop name that will be used if no shop name is attached to the challenge properties, which is useful for scenarios where only one shop is used and doesn't need to be set dynamically (e.g employees authentication).
options.UseWebProviders()
.AddShopify(options =>
{
// ...
options.SetShopName("shopname");
});
The ADFS provider no longer uses the userinfo endpoint to avoid errors happening when a non-default resource is configured.
An issue preventing user-defined parameters attached to AuthenticationProperties.Parameters (or ProcessChallengeContext.Parameters by a custom event handler) from being correctly added to sign-out requests has been identified and fixed (thanks @stasnocap!).
Behavior breaking change: the userinfo claims returned by the Patreon and Streamlabs providers are no longer flattened. Users of these providers are invited to update their callback action to ensure the claims are correctly extracted.
Known issues:
IQueryable<T> support in the new MongoDB LINQ v3 provider may prevent certain APIs like IOpenIddictMongoDb*Store.GetAsync() or IOpenIddictMongoDb*Store.ListAsync() from working correctly. While OpenIddict itself doesn't use these APIs, applications that require them can manually downgrade the MongoDB LINQ v3 provider version used for the OpenIddict database (thanks @Nfactor26! ❤️):services.AddOpenIddict()
.AddCore(options =>
{
var client = new MongoClient(new MongoClientSettings
{
LinqProvider = LinqProvider.V2
});
options.UseMongoDb()
.UseDatabase(client.GetDatabase("openiddict"));
});
This release introduces the following changes:
This release introduces the following changes:
9 new provider integrations have been added to OpenIddict.Client.WebIntegration:
References to Azure Active Directory in the code documentation have been replaced by "Microsoft Entra ID" to match the new name of the service (see https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/azure-ad-is-becoming-microsoft-entra-id/ba-p/2520436 for more information).
For better interoperability, the plain code challenge method is now allowed by default when enabling the authorization code or hybrid flows (note: the safer S256 method remains the recommended option and will always be preferred by the OpenIddict client).
[!NOTE] At this stage, it's unlikely I'll port additional aspnet-contrib OAuth 2.0 providers myself as the remaining services all have a complicated registration process that makes them unattractive (e.g submission of new OAuth 2.0 clients no longer possible, missing documentation, phone number verification required, testing of development applications behind a paywall, etc.). Of course, pull requests sent by external contributors to implement these providers are accepted and are more than welcome. For more information, read https://github.com/openiddict/openiddict-core/issues/1801.
To highlight that, the options.UseWebProviders().Use[Provider]() APIs have been deprecated and replaced by new options.UseWebProviders().Add[Provider]…
This release introduces the following changes:
options.UseWebProviders().Use[Provider]() APIs have been deprecated and replaced by new options.UseWebProviders().Add[Provider]() equivalents:options.UseWebProviders()
.AddActiveDirectoryFederationServices(options =>
{
options.SetIssuer("https://extranet.contoso.com/adfs")
.SetProviderName("Contoso")
.SetClientId("s6BhdRkqt3")
.SetClientSecret("7Fjfp0ZBr1KtDRbnfVdmIw")
.SetRedirectUri("callback/login/contoso");
})
.AddActiveDirectoryFederationServices(options =>
{
options.SetIssuer("https://extranet.fabrikam.com/adfs")
.SetProviderName("Fabrikam")
.SetClientId("3tqkRdhB6s")
.SetClientSecret("wImdVfnbRDtK1rBZ0pfjF7")
.SetRedirectUri("callback/login/fabrikam");
});
Issuer URI are now supported. Specifying the issuer URI or provider name in challenge/sign-out properties is still fully supported, but setting the new OpenIddictClientRegistration.RegistrationId property is required when adding multiple client registrations that share the same issuer or provider name:var properties = new AuthenticationProperties(new Dictionary<string, string>
{
[OpenIddictClientAspNetCoreConstants.Properties.RegistrationId] = "B8E10AE5-9C68-409B-B94B-7E402F8C323C"
});
OpenIddictClientService APIs accepting and returning records have been introduced to make OpenIddictClientService much easier to work with and more extensible (the old overloads are still functional but are decorated with [Obsolete] and will be removed in a future version):var result = await _service.AuthenticateWithPasswordAsync(new PasswordAuthenticationRequest
{
Username = "johndoe",
Password = "A3ddj3w",
Scopes = new() { Scopes.Profile }
});
OpenIddict.Client.SystemIntegration is no longer considered experimental and can now be used without <EnablePreviewFeatures>true</EnablePreviewFeatures>.
OpenIddict.Client.SystemIntegration was updated to throw a detailed exception if no CoreWindow is attached to the calling thread when triggering an interactive challenge with the UWP web authentication broker configured as the authentication mode, which will make the fact WebAuthenticationBroker is not supported in Win32 applications more apparent.
Due to a breaking change in Microsoft's IdentityModel library causing issues in applications using OpenIddict and ASP.NET Core's OIDC/JWT bearer handl…
This release introduces the following changes:
Due to a breaking change in Microsoft's IdentityModel library causing issues in applications using OpenIddict and ASP.NET Core's OIDC/JWT bearer handlers, the IdentityModel dependencies were downgraded to 6.25.1. For more information, see https://github.com/openiddict/openiddict-core/issues/1766 and https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/2059.
Breaking behavior change: the LinkedIn integration was updated to target the new OpenID Connect-based service introduced earlier this year. Developers who use the LinkedIn integration are invited to ensure the Sign In with LinkedIn V2 service is enabled for all their LinkedIn applications before migrating to OpenIddict 4.4.0:
[!WARNING] If applicable, developers are also invited to review and update their code to use the standard OpenID Connect claims returned by the new LinkedIn userinfo endpoint instead of the custom claims that were previously returned when targeting the OAuth 2.0-only service. To avoid a binary breaking change, the
Fieldsoption wasn't removed but is now obsolete and will be removed in a future major version.
Facebook is now supported by the OpenIddict web integration package (thanks @runxc1 for your contribution! ❤️)
The Microsoft Account provider was updated to support the special "consumers" and "organizations" tenants and disable userinfo retrieval when a Xbox scope was requested.
This release introduces the following changes:
This release introduces the following changes:
OpenIddictClientService now offers dedicated ChallengeUsingDeviceAsync()/AuthenticateWithDeviceAsync() APIs:// Ask OpenIddict to send a device authorization request and write
// the complete verification endpoint URI to the console output.
var response = await _service.ChallengeUsingDeviceAsync("Local", cancellationToken: stoppingToken);
if (response.VerificationUriComplete is not null)
{
AnsiConsole.MarkupLineInterpolated(
$"[yellow]Please visit [link]{response.VerificationUriComplete}[/] and confirm the displayed code is '{response.UserCode}' to complete the authentication demand.[/]");
}
else
{
AnsiConsole.MarkupLineInterpolated(
$"[yellow]Please visit [link]{response.VerificationUri}[/] and enter '{response.UserCode}' to complete the authentication demand.[/]");
}
using var cancellationTokenSource = CancellationTokenSource.CreateLinkedTokenSource(stoppingToken);
cancellationTokenSource.CancelAfter(response.ExpiresIn < TimeSpan.FromMinutes(5) ?
response.ExpiresIn : TimeSpan.FromMinutes(5));
// Wait for the user to complete the demand on the other device.
(_, var principal) = await _service.AuthenticateWithDeviceAsync("Local",
response.DeviceCode, cancellationToken: cancellationTokenSource.Token);
The GitHub and Google integrations were updated to allow using the device authorization grant with these providers.
PingOne was added to the list of supported providers.
New ConfigureHttpClient() and ConfigureHttpClientHandler() APIs have been added to the System.Net.Http integration packages to allow customizing the HTTP clients and HTTP client handlers used by the OpenIddict client and validation services:
options.UseSystemNetHttp()
.ConfigureHttpClient(client => client.DefaultRequestHeaders.Add("Custom-Header", "Custom-Value"))
.ConfigureHttpClientHandler(handler =>
{
handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator;
});
The validation stack was optimized to avoid resolving the server configuration when no access token was sent (thanks @2d1a0ec3! ❤️).
To improve the developer experience, exceptions thrown while trying to retrieve the server configuration are now caught by the OpenIddict validation handler and surfaced by the ASP.NET Core and OWIN hosts as WWW-Authenticate: Bearer error="server_error", error_description="The remote authorization server is currently unavailable or returned an invalid configuration.", error_uri="https://documentation.openiddict.com/errors/ID2170 errors.
DbContextOptionsBuilder<TContext> helpers have been added to the EF Core stores (thanks @verdie-g! ❤️)
This release introduces the following changes:
This release introduces the following changes:
OpenIddict.Client.WebIntegration package (that now offers a total of 45 OAuth 2.0/OpenID Connect integrations!):| Provider name | |
|---|---|
| ArcGIS Online | Mailchimp |
| Asana | Patreon |
| Basecamp | QuickBooks Online |
| Battle.net | ServiceChannel |
| Bitbucket | Slack |
| DeviantArt | Smartsheet |
| Discord | Spotify |
| Dropbox | Strava |
| Epic Games | Streamlabs |
| Fitbit | SuperOffice |
| GitLab | Trovo |
| Harvest | Vimeo |
| HubSpot | Xero |
An issue affecting the OpenIddict.Validation.ServerIntegration package identified and reported by @SebastianStehle – who maintains the Squidex and Notifo projects – was fixed (see https://github.com/openiddict/openiddict-core/issues/1739 for more information). Thanks Sebastian! ❤️
A new OpenIddictServerBuilder.SetIssuer() overload accepting a string instance was introduced to make the API consistent with the OpenIddictServerBuilder.Set*EndpointUris() methods.
The OpenIddict.Client.SystemNetHttp and OpenIddict.Validation.SystemNetHttp packages now support JSON Structured Syntax Suffixes (defined in RFC6839) for increased interoperability.
This release introduces the following changes:
This release introduces the following changes:
A new OpenIddict.Client.SystemIntegration package is now offered to easily use the OpenIddict client in Windows and Linux desktop applications. For more information, see Introducing system integration support for the OpenIddict client.
Active Directory Federation Services (Windows 2016+) and Stripe Connect support has been added to OpenIddict.Client.WebIntegration.
The stricter id_token_hint validation rules introduced in OpenIddict 4.0 have been relaxed to avoid rejecting authorization and logout requests that specify invalid token hints (e.g identity tokens whose database entry has been pruned and no longer exists). See https://github.com/openiddict/openiddict-core/issues/1649#issuecomment-1417094318 for more information.
A workaround has been added to allow the compromised tokens revocation logic to work with the Pomelo MySQL provider (see https://github.com/openiddict/openiddict-core/issues/1658 for more information).
For more information about this release, read OpenIddict 4.0 general availability.
For more information about this release, read OpenIddict 4.0 general availability.
This release addresses a minor issue that caused access tokens to be validated twice when using the pass-through mode for the userinfo endpoint if the
This release addresses a minor issue that caused access tokens to be validated twice when using the pass-through mode for the userinfo endpoint if the userinfo endpoint was decorated with [Authorize(AuthenticationSchemes = OpenIddictServerAspNetCoreDefaults.AuthenticationScheme)] or called HttpContext.AuthenticateAsync(OpenIddictServerAspNetCoreDefaults.AuthenticationScheme).
This release focuses on reducing logging overhead by changing the log level of most errors caused by users/client applications from Error to Informati
This release focuses on reducing logging overhead by changing the log level of most errors caused by users/client applications from Error to Information. For more information about this change, read https://github.com/openiddict/openiddict-core/issues/1205.
This minor release fixes a bug that prevented the pass-through mode from working properly for the logout endpoint in the OpenIddict server OWIN host.
This minor release fixes a bug that prevented the pass-through mode from working properly for the logout endpoint in the OpenIddict server OWIN host. For more information, read https://github.com/openiddict/openiddict-core/issues/1263.
This minor release fixes a bug impacting scenarios using absolute URLs for the OpenIddict endpoints (relative paths like /connect/token were not affec
This minor release fixes a bug impacting scenarios using absolute URLs for the OpenIddict endpoints (relative paths like /connect/token were not affected). For more information, read https://github.com/openiddict/openiddict-core/issues/1255.
Starting with 3.0.4, both the ASP.NET Core and OWIN hosts now populate the AuthenticationProperties.IssuedUtc and AuthenticationProperties.ExpiresUtc properties to match OpenIddict 2.x's behavior.
This release also updates the authorization manager to ensure the CreateAsync() overload that doesn't take a descriptor parameter automatically attaches a creation date to the resulting authorization.
This minor release fixes a bug impacting an edge case where a client application is configured to require PKCE but is also allowed to use the implicit
This minor release fixes a bug impacting an edge case where a client application is configured to require PKCE but is also allowed to use the implicit flow (a flow that can't support PKCE by definition). While not recommended, applications created with the PKCE requirement can now use the implicit flow if they have been granted the response_type=id_token, response_type=token or response_type=id_token token response type permissions.
This release also includes a work around for Oracle MySQL users (for more information, read https://github.com/openiddict/openiddict-core/issues/1234)
To ensure OpenIddict-based applications don't use a version impacted by CVE-2021-26701, this release also updates the OpenIddict.Abstractions package…
This minor release fixes a bug in the authorizations/tokens pruning logic used in the EF 6/EF Core stores and improves the development encryption/signing certificates mechanism to prevent an exception from being thrown when multiple certificates with the same name are generated concurrently by different applications.
To ensure OpenIddict-based applications don't use a version impacted by CVE-2021-26701, this release also updates the OpenIddict.Abstractions package to explicitly reference the latest System.Text.Encodings.Web patched version. For more information, read https://github.com/dotnet/announcements/issues/178.
This minor release downgrades the minimum MongoDB version referenced by the OpenIddict MongoDB integration packages. For more information, see Downgra
This minor release downgrades the minimum MongoDB version referenced by the OpenIddict MongoDB integration packages. For more information, see Downgrade MongoDB to 2.10.4.
For more information about this release, read OpenIddict 3.0 general availability.
For more information about this release, read OpenIddict 3.0 general availability.
Add workarounds for API breaking changes introduced in Entity Framework Core 3.x
OpenIddictTokenStore (https://github.com/openiddict/openiddict-core/commit/f5c1437bd31b4c1c1acaea1d2ad79551287a1cbf)BsonDocument.Parse() to ensure properties are correctly serialized (https://github.com/openiddict/openiddict-core/commit/2175c96120184602fa233d6fb218a6b517292210)Enumerable.Contains() instead of ImmutableArray.Contains() and add missing cancellation tokens (https://github.com/openiddict/openiddict-core/commit/8fdabc71a159a569575726f4da73a0ba27653d30)For more information about this release, read OpenIddict 1.0 and 2.0 general availability.
For more information about this release, read OpenIddict 1.0 and 2.0 general availability.
Nothing published for this version
For more information about this release, read OpenIddict 1.0 and 2.0 general availability.
For more information about this release, read OpenIddict 1.0 and 2.0 general availability.
Nothing published for this version
One column per quarter.