-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Extend Logged in with gh to support GHE #166
Copy link
Copy link
Closed
Labels
area:authenticationLogin, OAuth, device auth, token management, and keychain integrationLogin, OAuth, device auth, token management, and keychain integrationarea:enterpriseGitHub Enterprise (GHE/GHES) support, org policies, and enterprise settingsGitHub Enterprise (GHE/GHES) support, org policies, and enterprise settings
Metadata
Metadata
Assignees
Labels
area:authenticationLogin, OAuth, device auth, token management, and keychain integrationLogin, OAuth, device auth, token management, and keychain integrationarea:enterpriseGitHub Enterprise (GHE/GHES) support, org policies, and enterprise settingsGitHub Enterprise (GHE/GHES) support, org policies, and enterprise settings
Type
Fields
Give feedbackNo fields configured for Feature.
Describe the feature or problem you'd like to solve
As a GHE user, I would like
copilotto leverage myghe.comsession fromghlike it does when I'm authenticated with mygithub.comsessionProposed solution
As a GitHub CLI user, I am authenticated with both GitHub.com and GHE accounts.
ghdetermines the appropriate credentials based on various factors:GH_HOSTenv varThe benefit is a uniform streamline experience for both GitHub Copilot CLI and GitHub CLI users.
Example prompts or workflows
No response
Additional context
When I launch
copilotauthenticated togithub.com:When I launch
copilotauthenticated to GHE tenant: