In our application, we're trying to add a feature which already exists in other apps (like Linear, Slack, Gmail...), where it is possible to have 2 tabs and a different user (or tenant) in each tab.
It boils down to, for example, logging in as a user in Tenant A (for example), switching to Tenant B, and being able to have both tenants open in the same browser, in different tabs.
What's the best way to implement it, given it is a very frequently seen feature?: