OpenIddict 5.x to 6.x Migration Guide
The 6.0 release of OpenIddict is a major release that introduces breaking changes.
Check this blog OpenIddict 6.0 general availability for the new features introduced in OpenIddict 6.0. and the Migrate to OpenIddict 6.0 for more information about the changes.
In this guide, we will explain the changes you need to make to your ABP application.
Constant changes
The following constants have been renamed:
Old Constant Name | New Constant Name |
---|---|
OpenIddictConstants.Permissions.Endpoints.Logout |
OpenIddictConstants.Permissions.Endpoints.EndSession |
OpenIddictConstants.Permissions.Endpoints.Device |
OpenIddictConstants.Permissions.Endpoints.DeviceAuthorization |
IdentityModel packages
If you have a reference to IdentityModel
directly, please upgrade the necessary package versions to the latest stable version, which is currently 8.3.0:
- System.IdentityModel.Tokens.Jwt
- Microsoft.IdentityModel.Protocols.OpenIdConnect
- Microsoft.IdentityModel.Tokens
- Microsoft.IdentityModel.JsonWebTokens
That's all, it's a simple migration! If you have advanced usage of OpenIddict, please check the official migration guide for more information.