filmov
tv
How to implement custom authentication in Blazor Server (WITHOUT Microsoft.AspNetCore.Identity)

Показать описание
When it comes to authentication, I generally advise using Microsoft.AspNetCore.Identity as a minimum and IdentityServer4 for more complex scenarios. However, there might be scenarios in which you can't use neither of hem and you'd have to implement custom authentication in Blazor Server apps. In this video we take a look into how to implement custom authentication in Blazor Server using cookies (without any help from Microsoft.AstNetCore.Identity)
#Blazor #AspNetCore #Authentication
Join this channel to get access to perks:
Mentioned videos:
Chapters:
1.Intro: 00:00
2. Why using custom auth might be WRONG: 01:09
3. Creating an Auth Service (use databases instead in real scenarios): 02:37
4. Setting up cookie authentication: 05:16
5. User registration and sign in: 09:05
6. Creating claims: 12:18
7. Creating ClaimsIdentity and ClaimsPrincipal: 13:55
8. Signing a user in: 16:20
9. Implementing login: 17:48
10. Implementing logout: 23:31
11. See it in action: 25:57
#Blazor #AspNetCore #Authentication
Join this channel to get access to perks:
Mentioned videos:
Chapters:
1.Intro: 00:00
2. Why using custom auth might be WRONG: 01:09
3. Creating an Auth Service (use databases instead in real scenarios): 02:37
4. Setting up cookie authentication: 05:16
5. User registration and sign in: 09:05
6. Creating claims: 12:18
7. Creating ClaimsIdentity and ClaimsPrincipal: 13:55
8. Signing a user in: 16:20
9. Implementing login: 17:48
10. Implementing logout: 23:31
11. See it in action: 25:57
Комментарии