Question: Multiple account login for GHC? #1549

Closed
opened 2026-02-16 17:31:29 -05:00 by yindo · 3 comments
Owner

Originally created by @itsproinc on GitHub (Sep 1, 2025).

Originally assigned to: @thdxr on GitHub.

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?

Originally created by @itsproinc on GitHub (Sep 1, 2025). Originally assigned to: @thdxr on GitHub. 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?
yindo closed this issue 2026-02-16 17:31:29 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Sep 1, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #893: Discusses maintaining multiple auth profiles on the same provider, which is similar to having multiple GHC accounts
  • #629: Feature request for configuring multiple providers and toggling between them
  • #383: Feature request for ability to switch providers inside the app

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.

@github-actions[bot] commented on GitHub (Sep 1, 2025): This issue might be a duplicate of existing issues. Please check: - #893: Discusses maintaining multiple auth profiles on the same provider, which is similar to having multiple GHC accounts - #629: Feature request for configuring multiple providers and toggling between them - #383: Feature request for ability to switch providers inside the app 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.
Author
Owner

@rekram1-node commented on GitHub (Sep 1, 2025):

not currently possible but it makes sense

@rekram1-node commented on GitHub (Sep 1, 2025): not currently possible but it makes sense
Author
Owner

@rekram1-node commented on GitHub (Dec 27, 2025):

[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!

@rekram1-node commented on GitHub (Dec 27, 2025): [automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1549