JonPSmith / AuthPermissions.AspNetCore

This library provides extra authorization and multi-tenant features to an ASP.NET Core application.
https://www.thereformedprogrammer.net/finally-a-library-that-improves-role-authorization-in-asp-net-core/
MIT License
764 stars 155 forks source link

Can this library work with microservice based solution #57

Closed hassanrazakhalid closed 1 year ago

hassanrazakhalid commented 1 year ago

Hi This is not a bug. i just want to verify one use-case. I have 3-4 services and a single authentication service. I need multi-tenancy support in all of them. Will this library be suitable in this scenario and where i can find examples or blogs related to this. Thanks.

JonPSmith commented 1 year ago

Hi @hassanrazakhalid,

To make this work with microservices you will need

The AuthP is complex because multi-tenant apps are complex, but I have written lots of articles and a few videos which describe the issues you face creating a multi-tenant app (see top of sidebar on the documentation home page. Even if you don't want to use the AuthP libraries there are lots of useful tips in the articles.

Good luck on your project