Blazor Azure B2C Authentication and Authorization

Ойын-сауық

Azure Active Directory B2C is a service that allows your Blazor website users to log in using their preferred social, enterprise logins (or they can create a new local account in your Azure B2C tenant). Because this is a Azure Active Directory tenant, you have access to powerful features such as Multi Factor Authentication and Conditional Access control.

Пікірлер: 21

  • @1chullaman
    @1chullaman Жыл бұрын

    Gracias por el vídeo Michael

  • @BoatDawg
    @BoatDawg Жыл бұрын

    Excellent!!! Covered all the bases. I

  • @caseyspaulding
    @caseyspaulding Жыл бұрын

    Thank you!

  • @martinb.r2180
    @martinb.r2180 Жыл бұрын

    Great video, thanks for sharing!!

  • @rebel__rana
    @rebel__rana Жыл бұрын

    Disappointing that b2c doesn't provide something out of the box for authorisation

  • @brucebayley9430
    @brucebayley9430 Жыл бұрын

    Note: At 18:00: Remember to also check the two checkboxes and click Configure (missing from voiceover).

  • @niteshsetin
    @niteshsetin2 ай бұрын

    I followed your video, it helped to setup my blazor server application. Although when i tried to find access token nothing worked out so far. Can you please help me to figure out how to do that if you already know about it?

  • @adefwebserver

    @adefwebserver

    2 ай бұрын

    The only thing I can offer is to download the code form this article (you have to create an account, go to the download page, and select the download titled "Creating A Blazor Server Azure B2C App (Updated to .NET 8)") and compare it to your own: blazorhelpwebsite.com/ViewBlogPost/55

  • @niteshsetin

    @niteshsetin

    2 ай бұрын

    @@adefwebserver sure , I will give it a try

  • @forfundumy8739
    @forfundumy8739 Жыл бұрын

    Hello, in the log in pop up I get this message. Please help: We're unable to complete your request invalid_request: The provided value for the input parameter 'redirect_uri' is not valid. The expected value is a URI which matches a redirect URI registered for this client application. I set the good redirect uri but doesn't work

  • @adefwebserver

    @adefwebserver

    Жыл бұрын

    The address that the user is coming from, from your application, must be properly registered in the Azure App Service Registration. See this link for more help: blazorhelpwebsite.com/ViewBlogPost/55

  • @Duelweb
    @Duelweb2 жыл бұрын

    At 10:54, you don't select if it is a Web App or a SPA and what Redirect URI must be used ??

  • @adefwebserver

    @adefwebserver

    2 жыл бұрын

    You don't select anything else at that point. Later, for Blazor Server, you will select Web (For Blazor WebAssembly you will select SPA). See All screen shots for Blazor Server here: blazorhelpwebsite.com/ViewBlogPost/55 For Blazor WebAssembly here: blazorhelpwebsite.com/ViewBlogPost/57

  • @Duelweb

    @Duelweb

    2 жыл бұрын

    @@adefwebserver Thanks so much for your quick response, much appreciated 👍

  • @arrrryyy
    @arrrryyy23 күн бұрын

    Great explanation, how about the source code?

  • @adefwebserver

    @adefwebserver

    23 күн бұрын

    The code is here: blazorhelpwebsite.com/ViewBlogPost/55

  • @chrisowens6670
    @chrisowens6670 Жыл бұрын

    Really wish you didn't approach it from the 'most users are going to use an external identity provider'. Also, it's a little disappointing to get 30 minutes into a tutorial video to be told that "Again, their help docs will walk you through the steps..." making it pointless to even be here watching the video in many cases.

  • @adefwebserver

    @adefwebserver

    Жыл бұрын

    If you are not going to need an external identity provider, you may want to use Azure Active Directory rather than Azure B2C. I reefer viewers to the help docs for instructions on specific providers because covering the implementation of a single provider could take 30+ minutes and would be of no use to a viewer who did not plan to implement that provider. What I cover in this video applies to all providers.

  • @abdouldia1605
    @abdouldia1605 Жыл бұрын

    Thanks @adefwebserver. I would like to know how we can manage users for different companies. For instance how to create a company entry and assign it its users.

  • @adefwebserver

    @adefwebserver

    Жыл бұрын

    I don't have any published examples; however, I have done this for clients and the assignment of a user to a Client or Organization is managed in the database, not in Azure B2C. Making calls to the Azure B2C API is programmatically time consuming and will negatively affect application performance.

  • @abdouldia1605

    @abdouldia1605

    Жыл бұрын

    @@adefwebserver Thanks for your feedback.

Келесі