Added app.UseOpenIdDictConversionMiddleware()
which helps to support old clients when migrating from IdentityServer. It allows to do the following:
- Remove non-existing scopes
- Remove header authorization (if client_id/client_secret are passed in Form parameters)
- Remove client_secret for public clients (otherwise OpenIdDict complains)
- Change name of form parameters (e.g.
userName
->username
)
EnableIdentityServerRefreshTokens()
option that eases the migration from IdentityServer (i.e., Refresh Tokens from IdentityServer will still work, if PersistedGrants
table remains)
Upgraded to .NET 7.