I'm using Zen Browser, which is essentially a Firefox under the hood. Firefox has a concept called "containers", which are heavily utilized in Zen and used to separate personal tabs, work tabs etc., all having separate cookies/sessions/logins.
The Kagi browser extension has a button that opens up a new tab to log in and authorize the extension. Even though I'm logged in in such a tab, the extension doesn't pick it up, because the newly opened tab is in a container. This can be somewhat visible in regular FF, but Zen makes containers pretty much "magic" and transparent to a regular user (it uses workspaces which containerize all tabs).
You can, with some manual work, open a new tab in a non-containerized tab, but it's difficult to do so.
What the fix could be:
- either recognize a session from a container tab
- or, arguably better, make the button in the extension open a new tab outside of containers via some API, if that's available