.Net Core MVC Authentication & Role Based Authorization With Auth0

  Рет қаралды 6,913

Ravindra Devrani

Ravindra Devrani

Күн бұрын

dotnet core mvc role based authorization with auth0
aspnet core mvc role base authorization with auth0
dotnet core mvc login
dotnet core mvc authentication with auth0
dotnet core auth0 authentication
📎Source code: github.com/rd0...
// auth 0 actions
role:
const assignedRoles = (event.authorization || {}).roles;
api.idToken.setCustomClaim('schemas.microso..., assignedRoles);
email:
if (!event.user.email_verified) {
api.redirect.sendUserTo('{domain}/v2/logout?returnTo={allowed_url_in_logout_with_encyption}&client_id={clientId}')
}
.......................................................................................
connect with me:
👉 KZbin: / @ravindradevrani
👉 Twitter: / ravi_devrani
👉 GitHub: github.com/rd003
👉 Medium.com: / ravindradevrani
..........................................
Support my work:
You can buy me a coffee 🍵 : www.buymeacoff...
#aspnetcore #dotnet

Пікірлер: 20
@arabiceasycode
@arabiceasycode 7 ай бұрын
I was looking for these info for two days. Thanks
@andresbeltran5779
@andresbeltran5779 3 ай бұрын
great tutorial, some things have changed since the video was created. The roles part requires some changes to work currently, but nothing that can't be solved by doing a little research.
@hemantagrawal1122
@hemantagrawal1122 11 ай бұрын
Thank you so much for this.. much needed
@Jean-kt9vb
@Jean-kt9vb 9 ай бұрын
Legend!
@0xHabibi
@0xHabibi 7 ай бұрын
Thank you so much for this video Mr Ravindra... it was so helpful. Please I wanted to ask, what's the name of your theme for visual studio? it's beautiful
@ravindradevrani
@ravindradevrani 7 ай бұрын
I think , It was jellyfish.
@ahmadalmasri4416
@ahmadalmasri4416 8 ай бұрын
that was helpful Thank you
@codingislife6387
@codingislife6387 5 ай бұрын
Hy sir. How can we implement multiLevel authrization dynamiclly?? instead of changing roles in code and redeploy application . Can we create dynamic and multilevel auth Admin => Qutation -> [Create ,update,deletet] please sir make lecture on it. please
@jananikannan2884
@jananikannan2884 7 ай бұрын
@ravindra devrani . I was followed step by step what you said above video.and am using visual studio 2022. .NETcore 6 but am facing below issue, could you please help me. error is: "An unhandled exception occurred while processing the request. ArgumentException: Options.ClientId must be provided (Parameter 'ClientId') Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions.Validate()"
@ravindradevrani
@ravindradevrani 7 ай бұрын
Sorry, I m bad at resolving bugs of viewers.I really want to help but i find it hard to relate the error until i have the actual code.
@jananikannan2884
@jananikannan2884 7 ай бұрын
@@ravindradevrani may i know the version of visual studio code
@ravindradevrani
@ravindradevrani 7 ай бұрын
I was using vs 2022 and .net 7 on that project
@jananikannan2884
@jananikannan2884 7 ай бұрын
@@ravindradevrani we were seeking ur source code using github link you have mentioned in the caption. while clicking the github link , it was showing 404. Could you please provide the exact link, which was working fine.
@ravindradevrani
@ravindradevrani 7 ай бұрын
Sorry, I Accidently put the private repo. It is fine now. Click on the same link.
@androidsavior
@androidsavior 6 ай бұрын
I do not recommend this tutorial
@navinjayhar
@navinjayhar 6 ай бұрын
Why??
Fluent validation in .net
10:46
Ravindra Devrani
Рет қаралды 1,6 М.
POV: Your kids ask to play the claw machine
00:20
Hungry FAM
Рет қаралды 9 МЛН
escape in roblox in real life
00:13
Kan Andrey
Рет қаралды 17 МЛН
When you discover a family secret
00:59
im_siowei
Рет қаралды 34 МЛН
❌Разве такое возможно? #story
01:00
Кэри Найс
Рет қаралды 7 МЛН
Setting up Auth0 for API authentication and authorization
17:17
microapis
Рет қаралды 1,4 М.
asp .net core identity | Role based authorization in asp.net core mvc 7
1:05:07
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 173 М.
Coding Short: Using Bearer Tokens in .NET 8 Identity
14:31
Shawn Wildermuth
Рет қаралды 27 М.
Google authentication in asp.net core mvc
23:35
Ravindra Devrani
Рет қаралды 22 М.
What Authentication System Should I Use For My App?
20:41
IAmTimCorey
Рет қаралды 68 М.
.NET 7  💥 - Angular Authentication  with JWT (JSON WEB TOKEN)
1:43:21
Mohamad Lawand
Рет қаралды 21 М.
Auth0 - High Level Overview for Your Project Architecture
14:58
Dedicated Managers
Рет қаралды 22 М.
POV: Your kids ask to play the claw machine
00:20
Hungry FAM
Рет қаралды 9 МЛН