C#C
C#10mo ago
Hulkstance

ASP Identity <> Microsoft Entra ID

Hey guys, I'm setting up a project with a local JWT Bearer authn. I created my own User class along with a custom PasswordHasher and TokenProvider to generate JWT tokens. And then I remembered ASP.NET Identity, which provides built-in methods like _signInManager.PasswordSignInAsync, etc. My long-term plan is to migrate to Microsoft Entra ID. Is there an easy switch from ASP.NET Identity to Entra ID? Can I still use _signInManager.PasswordSignInAsync with Entra ID, or will I need to use Microsoft Graph API instead? If so, is the Graph API compatible with ASP.NET Identity abstractions?
Was this page helpful?