Asp Net Core – Rest API Authorization with JWT (Roles Vs Claims Vs Policy) – Step by Step

In this video we will go through AspNet Core Authorization (Roles, Claims and Policies). When do you want to use each and give you a better understanding on they fit together.

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

So what we will cover today:

00:20 Agenda
00:54 Authentication vs Authorisation
02:50 What is Authentication
03:42 What is Authorisation
05:44 Authorisation Type
06:13 Role Base
09:14 Claims Base
14:30 Policy
18:16 Ingredients
18:42 Code and Implementations
18:56 Setting up the project
20:42 Code: Setting up Roles
1:22:00 Code: Setting up Claims

DotNet SDK:
https://dotnet.microsoft.com/download

Visual Studio Code:
https://code.visualstudio.com/](https://code.visualstudio.com/

Insomnia API
https://insomnia.rest/

Let us connect:
🌍 My website – https://mohamadlawand.com
📸 Instagram – https://www.instagram.com/mohamadlawand087/
🐦 Twitter – https://twitter.com/moe23
♯ Github – https://github.com/mohamadlawand087
🎫 LinkedIn – https://www.linkedin.com/in/mlawand
💥 LinkTree – https://linktr.ee/mohamadlawand

Gear I use (affiliate link): https://amzn.to/3EbT8Jw

Support my work:
https://www.patreon.com/mohamadlawand
https://www.buymeacoffee.com/mohamadlawand

Hire Me:
https://transactions.sendowl.com/products/78999951/625477F1/view

WHO AM I:
I’m Mohamad, a Enterprise Architect working in Manchester, UK. I make videos about web, cloud, desktop and mobile development.
GET IN TOUCH:
If you’d like to talk, I’d love to hear from you. Tweeting @moe23 directly will be the quickest way to get a response, but if your question is very long, feel free to email me at hello@mohamadlawand.com.

#aspnetcore #authentication #authorizations #Roles