You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
requires extra UI to match tokens to a specific repo/org
your workflow requires you to constantly log in and out of GitHub, which is a bad base to work on IMHO. I'd suggest using multiple profiles instead, on which you can use different tokens
requires extra UI to match tokens to a specific repo/org
Can this be done based on the currently-logged in user for the given tab instead?
your workflow requires you to constantly log in and out of GitHub
With Firefox's containers this is no longer the case.
I'd suggest using multiple profiles instead, on which you can use different tokens
This is unfortunately more cumbersome because it requires you to maintain multiple windows, whereas with my current setup I can just have tabs on personal/work containers.
It would be nice to have, but I have zero intention to write the whole component for the options page and logic to pick the right token after a page load.
I’d be happy to accept a complete PR for this but it’s likely too much work. Anything related to this should not interfere with the simple single-token usage, not in performance nor in UX of the options page.
For example I’d imagine a simple “add tokens for multiple users” button to duplicate the whole token verification widget as is. The username is not required because it can be fetched via API. This call can be cached forever via webext-storage-cache
Related: A small part of this logic would be useful to this as well
Activity
fregante commentedon Apr 3, 2023
I assume you have different accounts that have access to different repos/orgs, right?
If not, why do you want to use multiple tokens?
DominicVonk commentedon Apr 3, 2023
Yes right
fregante commentedon Apr 3, 2023
Many reasons not to do it unfortunately:
sin-ack commentedon Sep 12, 2024
Sorry to bump this, but:
Can this be done based on the currently-logged in user for the given tab instead?
With Firefox's containers this is no longer the case.
This is unfortunately more cumbersome because it requires you to maintain multiple windows, whereas with my current setup I can just have tabs on personal/work containers.
It would be nice if this was reconsidered :)
fregante commentedon Sep 12, 2024
It would be nice to have, but I have zero intention to write the whole component for the options page and logic to pick the right token after a page load.
I’d be happy to accept a complete PR for this but it’s likely too much work. Anything related to this should not interfere with the simple single-token usage, not in performance nor in UX of the options page.
For example I’d imagine a simple “add tokens for multiple users” button to duplicate the whole token verification widget as is. The username is not required because it can be fetched via API. This call can be cached forever via
webext-storage-cacheRelated: A small part of this logic would be useful to this as well
sin-ack commentedon Sep 12, 2024
Thanks for the response! I'll see if I can spend some time working on it.
fregante commentedon May 7, 2025
@sin-ack I proposed a simple UI in #8436 if you have time to implement this.
sin-ack commentedon May 7, 2025
Thanks for the reminder, I'll take a look.