Using Custom JWT Claims For Authorization In ASP.NET Core | Permission Authorization – Part 4



Using Custom JWT Claims For Authorization In ASP.NET Core | Permission Authorization – Part 4

Using Custom JWT Claims For Authorization In ASP.NET Core | Permission Authorization - Part 4

Support me on Patreon to access the source code:
https://www.patreon.com/milanjovanovic

Authorization is an important topic to consider in an ASP.NET Core application. Along with authentication, it’s the backbone of a reliable and secure application. In this video, I’m going to show you how to implement permission authorization. This is part 4 of a longer series on permission authorization, where I will show you how to use custom claims in JWT to support authorizing endpoints using permissions.

Join my weekly .NET newsletter:
https://www.milanjovanovic.tech

Read my Blog here:
https://www.milanjovanovic.tech/blog

Subscribe for more:
https://www.youtube.com/@MilanJovanovicTech?sub_confirmation=1

Chapters
0:00 What is our strategy?
1:58 Adding permissions as custom JWT claims
4:58 Inspecting the JWT with permissions claims
6:01 Authorization with permissions in JWT
7:49 Discussing potential problems with this approach

Comments are closed.