Back to Abp

OpenIddict 5.x to 6.x Migration Guide

docs/en/release-info/migration-guides/openiddict5-to-6.md

10.3.01.9 KB
Original Source

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 NameNew Constant Name
OpenIddictConstants.Permissions.Endpoints.LogoutOpenIddictConstants.Permissions.Endpoints.EndSession
OpenIddictConstants.Permissions.Endpoints.DeviceOpenIddictConstants.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:

That's all, it's a simple migration! If you have advanced usage of OpenIddict, please check the official migration guide for more information.