Can i use asp.net membership with owin and oauth provider?

I started creating ASP.NET memberships for training, but found a new ASP.NET identity. Some people have suggested that the latter is more advanced than ASP.NET membership and simple ASP.NET membership.

I have to read a comparison from this source . But still I have some questions, because some things are still unclear to me.

  • Can I use owin and oauth with ASP.NET membership and simple membership?

  • How can I authenticate web api with ASP.NET membership and simple membership?

  • Can I customize tables for profile, user, and role in Identity ASP.NET?

Please offer. If someone can offer me a good link to authorize and authenticate the configuration of the web interface API and ASP.NET, that would be great.

+5
source share
1 answer

ASP.NET authentication is now a mature technology and sophisticated enough to meet all your requirements.

Moreover, there is even a better solution called ASP.NET Identity Server and comes with additional pairs:

  • Can be used with Identity.
  • Implements SSO (Single Sign-On)
  • Can be used with Entity Framework.
  • This is the host product itself.

So, to answer your questions:

  • No, you cannot use identification and simple membership.

  • Using ASP.NET Identity Server through a token.

  • You can customize the tables to suit your requirements.

Here is the official documentation for the identity server.

0
source

Source: https://habr.com/ru/post/1234992/


All Articles