FeatureFuel
4

Scoped Auth via non-unique emails on auth.users

Source: supabase/supabase#39633 · opened by @jonkurtis
It would be great to be able to scope auth by a tenant_id. Currently there is a partial unique index on auth.users email column. I would like to be able to have a single user use the same email to login via supabase auth on different tenants with separate email/password for each. This would enable building platforms that have tenant scoped auth for users. For instance if you were building a newsletter platform the newsletter subscribers could be scoped to a publication so they could use the same email to authenticate for multiple publications.

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests