OpenIddict: the OpenID Connect stack you'll be addicted to
OpenIddict aims at providing a versatile solution to implement an OpenID Connect server and token validation in any ASP.NET Core 2.1, 3.1 and 5.0 application,
and starting in OpenIddict 3.0, any ASP.NET 4.x or OWIN application too.
OpenIddict fully supports the code/implicit/hybrid flows, the client credentials/resource owner password grants and the device authorization flow. You can also create your own custom grant types.
OpenIddict natively supports Entity Framework Core, Entity Framework 6 and MongoDB out-of-the-box, but you can also provide your own stores.
Read an introduction on OpenIddict and the reason it was created.
Get started quickly by working through this step-by-step guide.
View samples implementing the various authorization flows.