mozilla / multi-account-containers

Firefox Multi-Account Containers lets you keep parts of your online life separated into color-coded tabs that preserve your privacy. Cookies are separated by container, allowing you to use the web with multiple identities or accounts simultaneously.
https://addons.mozilla.org/firefox/addon/multi-account-containers/
Mozilla Public License 2.0
2.64k stars 323 forks source link

Issue with switching between containers during OAuth sign-in. #2642

Open dadinn opened 1 week ago

dadinn commented 1 week ago

Before submitting a bug report

Step to reproduce

Create a Google container for https://mail.google.com and https://accounts.google.com, and another Youtube container for just https://youtube.com, and set the Always open in this site in container option for each.

Actual behavior

Youtube is opened in its own container. When one tries to login, they get redirected to https://accounts.google.com in the Google container. There one completes the login to the account, and then get redirected back to Youtube, which in turn switches back to the Youtube container. Because of the login happens scattered between the containers, the Youtube won't find the session cookie, and gets redirected to the login page in the other container, and the endless cycle starts again...

Expected behavior

When using a private window, this issue is not there. It should be possible to address this in similar manner, somehow ensuring the switching to the OAuth login page happens in the same container where it started from. Maybe by introducing some way to temporarily override the global settings.

Additional informations

Updated add-on/extension to latest version 8.1.3.

Issues 1025 and 2626 might be related.

Provide a copy of Troubleshooting Information page (optional)

No response