How to Integrate Azure Active Directory (Entra ID) in ASP.NET Core Web App?

Поделиться
HTML-код
  • Опубликовано: 9 фев 2025
  • In this tutorial, you'll learn how to integrate Azure Active Directory (Entra ID) into an ASP.NET Core Web App for secure authentication. We’ll guide you through the entire process, from setting up an Azure AD tenant to configuring your ASP.NET Core app to authenticate users with Azure AD.
    What you’ll learn:
    How to register an app in Azure Active Directory (Entra ID)
    Configuring Azure AD Authentication in ASP.NET Core
    Handling user authentication and authorization

Комментарии • 11

  • @eamonnd1420
    @eamonnd1420 2 месяца назад +1

    Thank you for making this. The fact you explained the different ways to implement AD was very useful and I'm glad you left the debugging part in, helps us learn what to check for when it doesn't work.

  • @karthikeyanpalanisamy3664
    @karthikeyanpalanisamy3664 2 месяца назад

    Good video

  • @srinivas1623
    @srinivas1623 4 месяца назад +1

    Thanks for the video could pls do AKS update with real time process

  • @orjisamuelobinna9764
    @orjisamuelobinna9764 2 месяца назад

    Thank you greatly sir. Can this work for an API or I have to use a different approach

    • @thejourneyofdevops1791
      @thejourneyofdevops1791  2 месяца назад +1

      You can use the same approach for an API, but you'll need to adjust the configuration and authorization.

  • @PaulA-c4x
    @PaulA-c4x 2 месяца назад +1

    Can this work with .NET YARP Gateway?

    • @thejourneyofdevops1791
      @thejourneyofdevops1791  2 месяца назад

      Yes.
      1. Prerequisites
      Azure Entra ID Tenant: You need an app registration in Azure Entra ID for the YARP gateway.
      .NET YARP Gateway: A working YARP-based reverse proxy project.
      Backend Services: Services the YARP gateway will proxy requests to.
      Microsoft.Identity.Web: A NuGet package for seamless integration with Azure Entra ID in .NET applications.
      2. Register YARP Gateway in Azure Entra ID
      3. Install Required NuGet Packages
      4. Configure appsettings.json
      5. Configure Program.cs

  • @ayushgupta5702
    @ayushgupta5702 3 месяца назад +1

    Hey I am developing SSO in .Net Core Web Api as my backend and Angular as my front end application can you help me out with my problem that I am using Azure AD as identity provider and SAML Response for authentication, but I am stuck in redirecting back to my frontend application If i am taking the response from Azure AD at the backend Endpoint.Since the link is getting broken from the client application to the my server application. I have tried solutions like polling not getting success in it. If you have any idea please connect with me.

    • @thejourneyofdevops1791
      @thejourneyofdevops1791  2 месяца назад

      Not sure may be you can give a try on these options.
      Option 1: Use a Frontend-Handled Relay State
      Option 2: Direct Frontend Redirection from the Backend

    • @rishabhdev6618
      @rishabhdev6618 6 дней назад

      If the company uses SSO which is Entra ID. When the user logs in to their laptop, the user just uses their Microsoft ID and he stays logged in. Can i use this example above to achieve the same, let’s say they log into their outlook email on browser and my application already recognises their login.
      Also, could you please make a video on web api and share the steps in a zip or pdf in your description, it will really help your audience.
      Great video 🙌🏼