This release introduces the following changes:
- Similarly to what was already possible with the OpenIddict client system integration, the ASP.NET Core (and OWIN) hosts now allow overriding the requested scopes dynamically/per challenge. For that, an
OpenIddictClientAspNetCoreConstants.Properties.Scope
property must be added to theAuthenticationProperties.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);
- FACEIT is now supported by
OpenIddict.Client.WebIntegration
.