Open engineerwolf opened 4 years ago
I don't think our extension can affect this.
Either whitelist it (or the domains) if possible, or raise an issue to Firefox devs.
Is this something that still isnāt possible to do?
Iāve allowed all requested to domains, not sure what kind of allowālisting is suggested in the Jan 22 comment.
The website and extension also seem to be able to communicate to some degree at least, since the site tells me the extension is working:
Yes it's still not possible as far as I know, the extension itself doesn't run in the container, thus any requests don't have your session cookies.
If someone think it's possible to fix, PRs are welcome.
You can actually open extension pages in a container. Any moz-extension:// url can be opened in a container. I don't think that'll help much for the SteamDB extension since it doesn't even have a page that displays in a tab and it probably won't solve the cookie problem.
I just did a little test and I managed to open a moz-extension:// page in a tab, right click on the tab open in new container tab
and I could access that container's cookies. I have no clue how to do that programmatically though. Maybe it helps.
Here is the official documentation for the API for Firefox Containers: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Work_with_contextual_identities
I don't know if there is something there that would easily allow solving this issue. But I found this forum post that suggested a possible workaround, with this pull request on a different extension implementing it.
Firefox Multi-Account Containers extension separates website storage into tab-specific Containers. I am using to keep my browsing patterns separate.
While "Sign in Via Steam" feature of Steam Database extension works inside containerized tab. The browser extension is unable to retrieve game data. Since the browser extension uses cookies stored outside the containers.
Expected behavior: The extension should use some other method to authenticate with steam. Maybe a login page for the extension itself.