How can I avoid a user needing a unique email for a multi-tenant login?

Options
Xano Support Chat
Xano Support Chat Administrator

ADMIN

edited February 2023 in ❓Other questions

Am I able to not restrict my user table to require a unique email address? I am building a multi-tenant app and I want a user to be able to log in with the same email address to multiple tenants.

Best Answer

  • Xano Support Chat
    Xano Support Chat Administrator

    ADMIN

    edited February 2023 Answer ✓
    Options

    Technically that is possible by inputting the email addresses in a text field type. That way they wouldn't require unique email addresses. Alternatively, you could have one record for each user, and have another field determine which "tenants" that user can access.