DEV Community

Cover image for How to manage users, roles, and claims, using jwt token and asp.net core identity
Angelo Pirola
Angelo Pirola

Posted on • Edited on

1

How to manage users, roles, and claims, using jwt token and asp.net core identity

After seeing how to protect minimal APIs with JWT tokens and Asp.Net Core Identity, in this article, I want to share a next step, which I found myself facing for personal needs, that is how to make the management of JWT token claims dynamic in order to manage roles, claims, modules and licenses.

To obtain a working example that uses this implementation, I created this project (wrapper extender of ASP.NET Core Identity) that uses a SQL server database and allows this dynamic management.

The implementation explained above is available as a Nuget package, available at this link, which in the coming weeks will be enriched with additional features and documentation as indicated in the TODO present in the README of the aforementioned package.

Comments and/or suggestions are always welcome and don't forget that if you find this project useful, put a ⭐ on GitHub to show your support and help others discover it!

Top comments (0)

👋 Kindness is contagious

If you found this post useful, please drop a ❤️ or leave a kind comment!

Okay