0

I really hope that I don't need IdentityServer to allow users to authenticate with Azure ActiveDirectory in my asp.net core application.

Does someone have an example of using these two technologies together?

Tom Crosman
  • 1,137
  • 1
  • 12
  • 37
  • You can refer the following articles to use AAd in an ASP.NET Core web app: [Add sign-in with Microsoft to an ASP.NET Core web app](https://learn.microsoft.com/en-us/azure/active-directory/develop/quickstart-v2-aspnet-core-webapp) and [How to use both Azure AD authentication and Identity on ASP.NET Core 3](https://stackoverflow.com/questions/60198623/how-to-use-both-azure-ad-authentication-and-identity-on-asp-net-core-3). – Zhi Lv Aug 23 '21 at 07:49

1 Answers1

2

No, you do not need IdentityServer to use Azure AD from ASP.NET Core. To use AzureID I would recomend that you use the Microsoft Identity Web authentication library.

There are plenty of videos on YouTube about the Microsoft.Identity.web library.

Tore Nestenius
  • 16,431
  • 5
  • 30
  • 40