Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between the Microsoft identity platform and ASP.NET Core Identity?

What's the difference between the Microsoft identity platform and ASP.NET Core Identity?

The former is mentioned in the latter's documentation, but it's not clear to me the difference between the two.

like image 824
Rikai no hōhō Avatar asked Apr 29 '20 18:04

Rikai no hōhō


People also ask

What is Microsoft Identity in ASP.NET Core?

ASP.NET Core Identity: Is an API that supports user interface (UI) login functionality. Manages users, passwords, profile data, roles, claims, tokens, email confirmation, and more.

What is Microsoft identity platform?

The Microsoft identity platform helps you build applications your users and customers can sign in to using their Microsoft identities or social accounts. It authorizes access to your own APIs or Microsoft APIs like Microsoft Graph.

What is the difference between identity and identity server?

Identity Server is a centralized OAuth/OIDC token server. Identity is an API for managing user accounts. Identity Server might use Identity to manage accounts.

Why would you use ASP.NET identity?

The ASP.NET Identity system is designed to replace the previous ASP.NET Membership and Simple Membership systems. It includes profile support, OAuth integration, works with OWIN, and is included with the ASP.NET templates shipped with Visual Studio 2013.


1 Answers

ASP.NET Core Identity is a traditional individual authentication platform. You create and manage users, and allow those users to authenticate, specific to one app.

Microsoft Identity Platform is a centralized authentication and authorization platform, independent of any one particular application. The closest comparison is actually Identity Server, and it functions in much the same way as Identity Server, just much more expansively.

In truth, there's all kinds of cross-over here, though. ASP.NET Core Identity, for example, also enables third-party/external authentication, such as Google, Facebook, etc., including Microsoft accounts. So, you can actually integrate Microsoft Identity Platform via ASP.NET Core Identity.

Additionally, Identity Server can use ASP.NET Core Identity for user management, allowing the same OAuth/OpenID Connect functionality Microsoft Identity Platform provides, backed by ASP.NET Core Identity.

Long and short, they serve different purposes, even though there's a fair bit of cross-over as well. It all just depends on your application's needs as well as things like budget.

like image 118
Chris Pratt Avatar answered Oct 17 '22 04:10

Chris Pratt