How I implement JWT Bearer authentication and authorization in my .NET 6 Blazor WASM project. Plus, how to keep a user signed in, refreshing the access token.
(Free) You can find the source code here: https://www.patreon.com/posts/net-ful...
If you found this video helpful, like & subscribe, that means a lot to me!
And you may buy me a coffee: https://www.buymeacoffee.com/kis.stupid
00:00 Intro
00:57 Setup projects
08:45 Routes & HTTP config
16:50 Client AuthService
20:00 LoginForm
34:30 Log user in / out
47:20 Keep a user logged in
51:55 Clean up AuthService
01:11:30 Recap API Auth flow
01:16:40 Auth use case examples
01:20:05 Blazor Auth flow
01:42:00 Demo Blazor Auth
02:00:20 Bonus: Blazor rendering
If you got this far, you deserve the link to the Github repo: https://github.com/augustevn/DOTNET_C...
#csharp #dotnet #entityframework #identityframework #mssqlserver #mssql #cleanarchitecture #authentication #api #development #local #web #fullstack #webdevelopment #authorization #jwt #bearer #blazor #wasm