Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Authorize In Asp.Net Core Without Identity

In Asp.net Core 3 I have two admin and user values ​​in my database (for roles) that I want to use to authorize. I don't want to use Identity. Please help me

like image 854
Sajjad Avatar asked Oct 21 '25 16:10

Sajjad


1 Answers

If you don't want to use default Identity, Microsoft has provided many ways to custom this. You can read in this article for using Cookie Authentication without Identity or Custom Policy-based.

like image 55
Johnathan Le Avatar answered Oct 23 '25 06:10

Johnathan Le



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!