Authorization using Roles with Blazor & Identity in .NET 8 🔐

Sdílet
Vložit
  • čas přidán 29. 06. 2024
  • 🚀 Join the .NET Web Academy: learn.dotnetwebacademy.com
    💖 Support me on Patreon for exclusive source code access: / _patrickgod
    🐦 Let's get social on Twitter/X: / _patrickgod
    🔗 Let's connect on LinkedIn: / patrickgod
    🚀 Get the .NET 8 Web Dev Jump-Start Course for FREE: dotnet8.patrickgod.com
    00:00 Create a New Project
    03:03 Apply Migrations
    04:41 Database & Identity Implementations Overview
    09:57 Implement Authorization with Roles
    #DotNet #Blazor #AspNetCore

Komentáře • 14

  • @kourosh234
    @kourosh234 Před 4 dny +15

    I wished you could go a little bit deeper than hello world stuff. many companies want a microservice architecture behind the identity service. it means a lot of subjects that no one talks about. like forwarding jwt token from a service to another, putting token in cookie or local storage, parsing token, etc...

  • @TechhMann
    @TechhMann Před 2 dny

    Perfect! This is exactly what i've been looking for

  • @CentauriDK
    @CentauriDK Před 4 dny +3

    Thanks for the greate wideo. I would really apriciate a follow up video on creating your own user class for additional user fields as you mention in the video. So hope that will come one day.

  • @Don-ii4vm
    @Don-ii4vm Před 4 dny +1

    Excellent video. Thanks.

  • @adam-xt8te
    @adam-xt8te Před 4 dny +3

    Dear Patrick, maybe you'll update your Blazor WASM tutorial at Udemy? Current one is about .NET5

  • @panagiotischatzoglou7249

    Very nice video Patrick. Can you please make a video for creating roles?

  • @CRBarchager
    @CRBarchager Před 4 dny +1

    Thank you for the update. Do you have any videos with authentication against (local) Active Directory?

  • @arunbastin2990
    @arunbastin2990 Před 4 dny +1

    Create blazor large projects that includes reportsgeneration,dashboard,charts and authentication in udemy

  • @leonidkaruna2744
    @leonidkaruna2744 Před 2 dny

    That's all well and good, but you don't always need an authorization process with a full page reload cycle. To me, within the Blazor application, this looks like an oversight.
    I've been creating custom authorizations using Local Storage as an alternative. But there are problems with the use of the [Authorize] attribute there.
    I would like to see a complete authentication and authorization process on the client side in an SSR application.

  • @jorgepedraza1275
    @jorgepedraza1275 Před 4 dny +1

    I have a question: A Blazor Web App with Authentication (Individual Account) by default from VS 2022. During execution, certain warnings and errors appear in the browser console. Why and how it is fixed?

  • @reprisal0
    @reprisal0 Před 3 dny

    What about Kerberos and a local Active Directory for an Intranet that's locally hosted?

  • @amirameri1354
    @amirameri1354 Před 4 dny

    Great video. If i want added API controller to this app then how can I authorized it?

  • @Don-ii4vm
    @Don-ii4vm Před 4 dny

    How is Authorization added to an existing Blazor app?

  • @alfonsdeda8912
    @alfonsdeda8912 Před 4 dny

    Hi, how can i do a single sign on Page with blazor and share login variables with multiple blazor apps?