fullstackhero / dotnet-starter-kit

Production Grade Cloud-Ready .NET 8 Starter Kit (Web API + Blazor Client) with Multitenancy Support, and Clean/Modular Architecture that saves roughly 200+ Development Hours! All Batteries Included.
https://fullstackhero.net/dotnet-webapi-boilerplate/
MIT License
5.3k stars 1.58k forks source link

How can use identity, roles and permission in v2? #929

Closed technet365 closed 6 months ago

technet365 commented 6 months ago

I try to adapt identity in v2 branch, but i don't have success. Can help me to add RequireAuthorization() on single endpoint, as a model?

Thank you

iammukeshm commented 6 months ago

Hello, I have worked on this feature just yesterday. Please refer to the latest code of v2. And, here is the commit, https://github.com/fullstackhero/dotnet-webapi-starter-kit/commit/54565e0524d50c5efc895c37f685e24895548bea

technet365 commented 6 months ago

I see it. Good work. Thank you