C
C#7mo ago
tzezar

ASP.NET Core Identity - How to manage roles?

HEY! I'm starting with asp.net and can't figure out a certain thing. I want to implement authentication and authorization (RBAC) to rest api. From what I can see this is what 'Identity' is used for, right? While authentication seems straight forward, I don't completely understand how roles should be managed. Do you create CRUD endpoints yourself to manage them?
1 Reply
SpReeD
SpReeD7mo ago
It depends on what you wanna achieve, a rest-api service, an endpoint server for your clientside? Or a more complex structure (RBAC) for some application. For the first it's usually common to use token-based auth/api-keys, but again, it depends.
Want results from more Discord servers?
Add your server