This release introduces the following changes:
-
The client stack now maps
ClaimTypes.Name
from the standard OpenID Connectname
claim when nopreferred_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!). 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.