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
Is it possible to have multiple GHC (Github Copilot) login accounts? as I have 2 GHC accounts each for work & personal account and it would be really nice to have a fast way to switch between these accounts or it's not possible because how the agent works?
Reacted by Art Shendrik, Jiri Vyoralek, C, John, fourthz, Nikolai Kolodziej, Tarik, hokage-shuriken, JK.Ryan and Husam Alshehadat
The resolution in #893 suggests using environment variables and project-specific opencode.json files with different API keys via apiKey: "{env:VARIABLE_NAME}" syntax.
Feel free to ignore if none of these address your specific case.
Activity
github-actions commentedon Sep 1, 2025
This issue might be a duplicate of existing issues. Please check:
The resolution in #893 suggests using environment variables and project-specific
opencode.jsonfiles with different API keys viaapiKey: "{env:VARIABLE_NAME}"syntax.Feel free to ignore if none of these address your specific case.
rekram1-node commentedon Sep 1, 2025
not currently possible but it makes sense
rekram1-node commentedon Dec 28, 2025
[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!
loganylchen commentedon Mar 11, 2026
I think I still need this. @rekram1-node
GeederX commentedon Mar 26, 2026
I made a plugin to make this: https://github.com/GeederX/opencode-copilot-multi-auth