Xabaril / Balea

Balea is an authorization framework for ASP.NET Core developers.
Apache License 2.0
246 stars 37 forks source link

MultiTenant Applicaiton Authorization #47

Open eslamo opened 2 years ago

eslamo commented 2 years ago

Hi,

I'm asking for how about multitenant apps how can I implement Balea to authorize depending on the user permission for the specific tenant.

tenant Id sent throw headers to API request cause the front end is using Blazor WASM.

unaizorrilla commented 2 years ago

Hi @eslamo

Nice to see your comment! Well, unfortunately Balea does not cover a multi-tenancy scenario out of box but I think you can accomplish this without a hard work. The idea to do this could be:

Hope this help! Unai