Closed nayabraheel closed 1 year ago
On my project, I pre-specified root as default tenant on login. On Infrastructure/Persistence/Configuration - avoid putting builder.IsMultitenant();
You can also remove all tenant related codes if you like but I think you will need a lot of work. This will result instability.
I think the easiest is to configure finbuckle with a static strategy (with the "root" tenant).
See https://www.finbuckle.com/MultiTenant/Docs/v6.9.1/Strategies#static-strategy
You can use the default root tenant as the only tenant. Tenant Key comes into the picture only while generating tokens.
For a more cleaner way, as mentioned earlier, you can use the static strategy, somewhat like this.
How to disable the tenant feature? i have a standalone application which do not require tenant