Home > Blockchain >  OWIN Authentication, Authorization code migration from .net framework to .net 6 (Token based Authent
OWIN Authentication, Authorization code migration from .net framework to .net 6 (Token based Authent

Time:11-01

We have implemented OWIN Authorization to our Web Api's in .Net framework project. Now we are migrating this to .Net6. It seems in .net6/.net core owin authentication is not supported.

I don't find any documentation around this.

It seems Microsoft.Owin.OwinMiddleware is not exits in .net core.Also I don't find any Microsoft.Owin.Security.Infrastructure.AuthenticationTokenProvider corresponding nuget packages in .net core.

How can we use OWIN Authorization in .Net core(.net6)? If it is not supported what is alternative to this in .net core

CodePudding user response:

ASP.NET Core using a new authentication middleware which could work like OWIN.

So you could directly using this middleware instead of using owin inside the asp.net core.

For example, if you want to include the MSFT, Goolge, facebook or else, you could refer to this article.

  • Related