VirtoCommerce / vc-platform

Virto Commerce B2B Innovation Platform
https://virtocommerce.com
Other
1.23k stars 845 forks source link

OpenIddict 3.0 migration #2010

Closed kevinchalet closed 3 years ago

kevinchalet commented 4 years ago

Hey folks,

For over a year now, I've been working on OpenIddict 3.0 and beta versions are already available on NuGet.org (3.0 beta4 should ship later this month, once https://github.com/openiddict/openiddict-core/issues/1053 is fixed).

3.0 represents a major overhaul and significant changes have been made:

For more information, you can read the following blog posts:

All the samples have been updated to target the latest OpenIddict 3.0 beta version: https://github.com/openiddict/openiddict-samples

It's important to note that I'll stop supporting OpenIddict 2.x once 3.x ships, as a considerable effort has been dedicated to making sure that all users of ASOS, the aspnet-contrib extensions or OpenIddict have a migration path to 3.0. With that in mind, I encourage all teams to start testing the latest OpenIddict 3.0 beta packages in a separate branch/non-production environment, so that they can report possible bugs and easily make the switch when RTM ships.

Please let me know if you have any question.

Cheers!

mvktsk commented 4 years ago

Task https://virtocommerce.atlassian.net/browse/VP-4597 has been created

kevinchalet commented 4 years ago

Looks like you're now tracking that internally. Closing.

tatarincev commented 4 years ago

@kevinchalet Thanks for a good job! We'll play around a bit with the beta and keep you informed on issues.

kevinchalet commented 3 years ago

FYI OpenIddict 3.0 rc1 was released yesterday: https://kevinchalet.com/2020/11/17/introducing-openiddict-3-0-s-first-release-candidate-version/

3.0 RTM will ship next month (and as mentioned in my first post, 2.0 will no longer be supported once 3.0 officially ships).

tatarincev commented 3 years ago

@kevinchalet We did it! The https://github.com/VirtoCommerce/vc-platform/releases/tag/3.67.0 has been released and now works with OpenIddict 3.0, but we had done some dirty hack with legacy dependencies

 "AspNet.Security.OpenIdConnect.Extensions",
            "AspNet.Security.OpenIdConnect.Primitives",
            "AspNet.Security.OpenIdConnect.Server",
            "OpenIddict.Mvc",
            "CryptoHelper"

because of our modularity nature, in order to provide seamless migration for modules that are referenced to the old version. Thank you a lot for your great job, keep it up! 🥇

kevinchalet commented 3 years ago

Yeah, I saw that: very nice! 😄

Thank you a lot for your great job, keep it up! 🥇

Thanks! Don't hesitate to encourage your company to sponsor the project and help secure your supply chain! ❤️