Sinergix
Sinergix
BABetter Auth
Created by Platon on 4/17/2025 in #help
Anyway to allow shared emails?
Hey, wanted to jump in to say I am also building a sort of B2B2B marketplace and was weighing whether it would better to give each "partner" their own portal and it looks like that is currently not possible. Would it be possible to have a native plugin that adds an organization/portal field in the user/account table and overrides the unique email constraint, replacing it with a unique on [email & organization/portal]. This would allow us to have multiple auth portals in the same database and enable programmatic portal creation, etc. Allowing one person with the same credentials to authenticate through a second portal, as well. Not 100% sure on the exact implementation details, but I believe this would suffice for my use case. Along the lines of this conversation a much more niche but equally useful feature in auth systems are organization composition/nesting, where an organization can be the owner of many organizations. I am not sure if this is possible currently, and ideally organization composition also allowed for scoped permissions + scoped auth portals, as well.
86 replies