Bearer Token Authentication with Blazor WASM in C# .NET 8

3 months ago
4

I'll continue with Bearer Token Authentication in Blazor WebAssembly using C# .NET 8.

- Approach 1 (Standard): https://www.patreon.com/posts/approach-1-token-89892163?utm_medium=clipboard_copy&utm_source=copyLink&utm_campaign=postshare_creator&utm_content=join_link

- Approach 2 (Custom): https://www.patreon.com/posts/approach-2-token-89892291?utm_medium=clipboard_copy&utm_source=copyLink&utm_campaign=postshare_creator&utm_content=join_link

Access 34.000 remote jobs: https://remotive.com/accelerator?via=auguste

I'll start with, keeping a user signed in. Then, I will present you with 2 approaches to Blazor WebAssembly authentication.

The first approach will be the one that Blazor provides out-of-the-box.
The second, will be the "Keep it simple", "stupid" approach.

If you want to learn more about my custom approach and how to add role based authorization, watch: https://youtu.be/k1odq105MEU

Next video in the series: https://youtu.be/rCnsJwMc6-I?si=4i71zvYs8qC60CZY

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 Keep user signed in
07:00 Approach 1: Auth-of-the-box Blazor
16:57 Approach 2: Custom KISS Auth
29:08 Bonus: UnauthorizedLayout
30:27 Bug fixes
31:25 Final thoughts
32:18 Outro

#dotnet8 #bearer #authentication #token #identity #csharp #webapi #api #webdevelopment #fullstack #fullstacksoftwareengineering #backend #docker #azure #containerization #devops #cloud #microsoft #entityframework #identityframework #mssqlserver #mssql #cleanarchitecture #development #local #web #fullstack #authorization #jwt #cqrs #mediatr #cors #http #stateless #webscraping #workers #migration #dotnet #development #blazor #wasm #pwa #progressivewebapps #webapp #webassembly #seo #rendering #client #render #server #prerendered #googlesearch #modular #monolith #verticalslicearchitecture #minimalapi

Loading comments...