Handling different organisations with duplicate emails

Hey all, how are people handing within their apps, users who may cross over between organisations.

To be precise I may have multiple organisations using my app, however it is possible a user could need to have accounts with more than one of those organisations

If its the same email/user needing access to the same org, I just have them create another account appending + at the end of their email; something like johnny+1@johnnylinsf.com

1 Like

I would just have a list or organizations as a field in a user.

The user can then just choose the active organization they want to act as and that will apply on an app level.

That’s how I would do it.

1 Like

I use a dedicated data type with fields for both User and Organization. That data type can then have additional fields, such as Role, to govern the user’s app privileges within the organization while allowing those privileges to vary across organizations. For example, a Contributor in one organization might be only a Viewer in another organization.

1 Like