multi-account-containers icon indicating copy to clipboard operation
multi-account-containers copied to clipboard

Allow domain in multiple containers

Open bobpaul opened this issue 4 years ago • 10 comments

Current Behavior Currently a user can choose to open a specific site in a container by default. Upon doing so, the user is prompted if they attempt to open that domain in a different container.

Desired Behavior It would be desirable to set multiple "defaults" for a single domain. When opening in a different container, the message would list all of the "defaults" for that domain.

Example Use case I have a lot several sites that I have multiple accounts for and some of my containers are used to help me manage these multiple logins. While I have ~10 containers, for a given site there might only be 2 or 3 containers that "make sense" to use.

Example: I have a personal and a business Google account. I would only every like to open Google Drive in my Personal or my Work containers. If I open drive.google.com from the default group or click a link to Google drive in a different container, I would like to be presented with the options "Current Container", "Personal Container", and "Work Container".

Mockup image

bobpaul avatar May 26 '20 23:05 bobpaul

Would also like this as a feature. Would help me with multiple Github accounts (work/personal).

I was thinking of requesting the ability to specify a default container for a URL prefix (ex. https://github.com/some_organization), so I could force one Github organization's repositories to open in a specific container and the rest in another, however I think your request of asking which default container to open in each time would work even better for me.

StephenHeaps avatar May 29 '20 16:05 StephenHeaps

I have a similiar scenario with SSO via a company authentication provider. Some of the linked sites are inhouse, some are external applications. I'd like to keep them in separate containers but have them share a common authentication provider / login page.

This might be a duplicate: https://github.com/mozilla/multi-account-containers/issues/1887

And this might be a related issue / alternative feature request: https://github.com/mozilla/multi-account-containers/issues/1892

MichaelKetting avatar Dec 15 '20 10:12 MichaelKetting

For the SSO affected is a viable temporary workaround multiple Firefox Profiles?

The Profile command line switch can be paired with the no-remote switch to allow both Profiles to run simultaneously 😉

securingmom avatar Apr 10 '21 07:04 securingmom

I have multiple GitHub accounts and I'd always like to open URLs starting with http://github.com/employeeorganization in my work container. This doesn't seem possible today, but would have a huge benefit for me.

holzmaster avatar Aug 05 '22 16:08 holzmaster

@bobpaul @holzmaster

You have touched topic that was in discussion in many other threads. Probably one of the most full summaries I published in this comment. I hope it will help you.

It look like Containerise add-on would resolve your use case. As well voting for #2294 is very welcome. :)

achernyakevich-sc avatar Aug 07 '22 20:08 achernyakevich-sc

@achernyakevich-sc I don't think the comment you link to solves either of the issues brought up by @bobpaul or @holzmaster .

The initial problem from @bobpaul is one I'm personally interested in. I would like to indeed assign the exact same domain to multiple containers (google domains) so I can then activate the "only assigned domains" toggle. In the case of multi container assignment, indeed, if coming from outside one of those containers, you should be presented with a choice of which one to use.

The problem from @holzmaster is completely different, and actually a duplicate of https://github.com/mozilla/multi-account-containers/issues/691 which is a broader feature request than https://github.com/mozilla/multi-account-containers/issues/473.

marknelissen avatar Dec 21 '22 10:12 marknelissen

Since #1892 was closed as a duplicate of this issue, I'll add a note that I have an open PR for #1892 here: https://github.com/mozilla/multi-account-containers/pull/2033.

Note that the implementation is slightly different from the description here (in that its an allow-list instead of truly multiple default containers), so the implementation is closer match to #1892 than this (though they are very similar).

ncallaway avatar Jan 07 '23 17:01 ncallaway

@ncallaway Thank you for the reminder. I wanted to link the PR to this issue ;).

As a FYI, I'm working on an new WebExtension API proposal to manage website assignments directly in Firefox instead of in Multi-Account Containers. I'm working on this as a volunteer but hopefully with enough traction from the community we can get this approved upstream. When my proposal will be advanced enough, I'll make sure to share it in this bug (an a few others related to this topic) to get others feedback and make sure we could include as much use cases as it's possible.

dannycolin avatar Jan 07 '23 17:01 dannycolin

🍻 +1 for this feature request ❤️. The idea that OP @bobpaul raised -- UI buttons to assign one container out of multiple containers designated to a single website -- is as relevant as it was three years ago (May 2020).

davidleejy avatar Aug 21 '23 10:08 davidleejy