Multi-tenant setup with different passwords per tenant in one project and separate database.
- 0
- Databases
- Auth
- Cloud

Iβm building a multi-tenant SaaS app using a single project.
Each tenantβs data is stored in a separate Database (one DB per tenant).
Iβm using Auth for user accounts, which is global to the project.
The same real email address can be used in multiple tenants, but I want different passwords for each tenant.
Iβve tried using email prefixing (e.g. orgA_user@example.com) to make them unique in Auth, but this breaks email verification because sends verification emails to the prefixed address instead of the real one.
My question:
Is it possible to have different passwords per tenant for the same real email using Auth in a single project?
If not, is there a recommended pattern to handle multi-tenant auth where the same email can have different passwords in different tenants, without breaking email verification and password reset?
Thanks in advance for your guidance.
Recommended threads
- Using a local package inside of a cloud ...
Hey all I am trying to understand if what I want is possible or I am looking at it wrong. I am trying to use the a local package inside of my Dart cloud functi...
- Failing to get user account after login ...
Running the attached integration test on Windows platform I get the following error. Any idea of what I'm doing wrong ? π Starting... 01:22 +0: Appwrite Authe...
- No access control allow origin -blocked ...
im not sure what exaclty im doing wrong - its my first time using appwrite - and im watching a tutorial about how to create a movie app and followed everything ...
