Skip to content

Fix split enterprise auth for PRs and Copilot#8647

Open
IamTheKaaZZ wants to merge 1 commit intomicrosoft:mainfrom
IamTheKaaZZ:main
Open

Fix split enterprise auth for PRs and Copilot#8647
IamTheKaaZZ wants to merge 1 commit intomicrosoft:mainfrom
IamTheKaaZZ:main

Conversation

@IamTheKaaZZ
Copy link
Copy Markdown

Add githubPullRequests.customEnterpriseUri for PR-specific enterprise auth while preserving github-enterprise.uri as the default enterprise path.

Use extension-managed PAT auth only for the custom PR enterprise host. Keep Copilot-facing flows on the legacy enterprise auth provider. Add explicit sign-in commands for generic and custom enterprise flows. Refresh repository detection and enterprise host cache on auth/config changes. Add regression tests for custom enterprise auth, legacy Copilot auth, and enterprise sign-in routing.

Fixes this issue: #8191

Add githubPullRequests.customEnterpriseUri for PR-specific enterprise auth
while preserving github-enterprise.uri as the default enterprise path.

Use extension-managed PAT auth only for the custom PR enterprise host.
Keep Copilot-facing flows on the legacy enterprise auth provider.
Add explicit sign-in commands for generic and custom enterprise flows.
Refresh repository detection and enterprise host cache on auth/config changes.
Add regression tests for custom enterprise auth, legacy Copilot auth, and
enterprise sign-in routing.
@IamTheKaaZZ IamTheKaaZZ closed this Apr 7, 2026
@IamTheKaaZZ IamTheKaaZZ reopened this Apr 7, 2026
@IamTheKaaZZ
Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant