JWT Role Based Authorization in ASP.NET Core Web API

preview_player
Показать описание
How to implement JWT Role Based Authorization in ASP.NET Core Web API.
Part-1: JWT Authentication in ASP.NET Core 3.0 Web API:

👉FOLLOW US:

🧱 Affiliate Links: (ASP.NET Core Full Courses)
-------------------------------------------------------------------------------------
🅾 Complete Guide to ASP.NET Core MVC (.NET 5)
🅾 .NET 5 & .NET Core 3.1 Web API & Entity Framework
🅾 RESTful API with ASP.NET Core Web API - Create and Consume
🅾 Complete Guide to Building an App with .NET Core and React
🅾 Build a Real-world App with ASP.NET Core and Angular
-------------------------------------------------------------------------------------
👉ASP.NET Core Tutorial Playlist:
============================

👉ASP.NET Core WEB API Playlist:
============================

👉Blazor Tutorial Playlist:
============================

👉ASP.NET Core Authentication Playlist:
============================

👉SignalR Tutorials Playlist:
============================

👉KENDO UI Tutorials (WEB DEVELOPMENT) Playlist:
=====================================

👉KENDO UI in ASP.NET Core Playlist:
=====================================

👉Files or Image Upload Playlist:
=====================================

👉==========AMCHARTS GRAPH JQUERY PLAYLIST==========

👉=================RDLC Report Playlist===============

👉=================RDLC PRINT===============
How to print without showing report viewer in RDLC report - C#

👉=================RDLC & Crystal Report===============

👉=================SQL Server Tutorials (Series)===============

👉=========TEAM FOUNDATION SERVER=============
TFS source control for beginners:

👉==========ANDROID APP DEVELOPMENT============
Quick Learn Android full basic in 45 minutes:

👉=================C# Basic=============================

#JWTRoleBasedAuthorization #JWTAuthorization #RoleBasedAuthorization #JWT
Рекомендации по теме
Комментарии
Автор

i suggest you should use SqlParameter instead of relpacing params to avoid sql injection at 04:37. thanks you for helpful video bro

TanAnPham
Автор

Thanks a lot bro nice videos, It feel like movie Pushpak movie, no word but full information . keep it up, god bless you

vikrantdalvi
Автор

nice video, Thank you sharing knowledge

kiattisakphanphu
Автор

Sir please tell me about, how to Take input multiple "Roles" for a single user as a input(login) in ocelot gateway.

ahsannisar
Автор

Nice video, solves the purpose 👍👍👍. Thanks 😊

sanchayeetagaine
Автор

while calling from api, 401 unauthorized showing.. need reply

khadrimk
Автор

whatever you typed in postman in the address bar is not visible. So the pupose of your video is not surved. So again make a video that uses postman to make the request to the same web api you used earlier. Why do you people not care about these thing while making video?

mojeebhasan
Автор

Unable to understand its just Fly like Airplane flaying on my head.

codingislife
Автор

it was very slow lecture. next time u should make 2X time faster then this.
Common your Teaching us or. Making us confuse. No voice . No Understandment.

codingislife
Автор

this Error Coming on Your _--- > Post Method you will not Replay off curse.

Null Identity. I don't know how your code working... 🥵🥵

Object reference not set to an instance of an object.
at in E:\MyLearning\1. 1st Target\4. API Core\2. API_JWT 102
at lambda_method(Closure, Object, Object[] )
at target, Object[] parameters)
at mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at
at next, Scope& scope, Object& state, Boolean& isCompleted)
at
--- End of stack trace from previous location where exception was thrown ---
at context)
at next, Scope& scope, Object& state, Boolean& isCompleted)
at
--- End of stack trace from previous location where exception was thrown ---
at invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at context)
at next, Scope& scope, Object& state, Boolean& isCompleted)
at
--- End of stack trace from previous location where exception was thrown ---
at invoker, Task task, IDisposable scope)
at endpoint, Task requestTask, ILogger logger)
at context)
at context)
at context)

HEADERS

Accept: */*
Accept-Encoding: gzip, deflate, br
Authorization: Bearer
Connection: keep-alive
Content-Length: 0
Host: localhost:44396
User-Agent: PostmanRuntime/7.32.2
Postman-Token:

codingislife