Part2️⃣| .NET 8 Blazor JWT Authentication & Authorization using Identity Manager! 🔒🚀

preview_player
Показать описание

# Related

/*Get Source code*/

# Here's a follow-up section to encourage engagement and support for Netcode-Hub:
🌟 Get in touch with Netcode-Hub! 📫

# ☕️ If you've found value in Netcode-Hub's work, consider supporting the channel with a coffee!
Рекомендации по теме
Комментарии
Автор

I'd really love to see this (and most of your other projects) done in a .Net 8 WASM Hosted context. I've been trying to follow along but something with the AccountService doesn't work no matter what I do.

PhilipAtha-qd
Автор

Hi Netcode-Hub.
I'm about to go do this video here and the first part you post yesterday. But before I do I see you using Blazor Web Assembly. Will this work for Blazor Web App with Auto mode set to Server and Web Assembly). The one I followed a few weeks back only worked on Web Assembly. Will it be the same for this video.

I think Microsoft is pushing us all to go with Blazor Web App moving forward.

waynehawkins
Автор

Hi Frederick. Thanks for this video!
Can you make a small additional video of the series "Custom JWT Authentication & Authorization using Identity Manager", with the implementation of the refresh token and an example of authorizing a Refit client on the Wasm app leveraging the refresh token?

fabioeffe
Автор

Good evening Frederik, I'm trying to use the new authentication method you proposed in my application where I have a hub connection to report events between client and server. Attempting to connect with the command "await hubConnection.StartAsync()" fails with a 405 error. Do you have any ideas on how to work around this problem? I already tried specifying "[AllowAnonymous]" in the controller but it doesn't change anything.

MaurizioMonteleone-cubc
Автор

in the last minutes, it seems like you have showed us the wrong code, can you please provide me with the last version of your code? Thank you.

AnNguyen-soqo
Автор

Hi Mr. Frederick, Thanks for this video.
Could you please make a video on how to use azure active directory authentication in Blazor Web App (Auto Render Mode)
Thanks in advance

kuldeepy-is
Автор

Hi
Can you make a video about .Net 8 Blazor Hybrid ?
Thanks

cissemy
Автор

Hi, thx for your great video. So, i have a question. After implementing login, we can see that the method GetAuthenticationStateAsync is invoked even when restart application (by checking the localstorage) . But what is the component that invokes this method ? because its not clear for me : app.razor ? program.cs ? or maybe the home.razor, or mainlayout.razor ? thank for your work. From France with love ;)

nicolass
Автор

Hi.
I know this is a slightly old video now but I am trying to get into Blazor in .net 8 so using it as a startpoint.
When I download and run the blazor app I get the following error:
info:
Authorization failed. These requirements were not met:
Requires an authenticated user.

Swagger works fine so the issue must be in the blazor app I think.
Do you have any idea what causes this.
I have the same problem on 2 different machines !

any help is appreciated. 🙂
Dave

daveb