lozaa25
BABetter Auth
•Created by jatin on 3/6/2025 in #help
Multi-tenant SaaS tool with multiple apps as tenants
Thank you for your approach! But I was wondering if it would be feasible to create a new Postgres schema per tenant and use it exclusively for auth? Then, use a separate better-auth instance for each tenant.
Some potential issues with my approach:
- Too many database connections - No way to retrieve all users - Kysely's support for schemas - Feels hacky
What do you think?
Some potential issues with my approach:
- Too many database connections - No way to retrieve all users - Kysely's support for schemas - Feels hacky
What do you think?
7 replies