mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 04:09:28 +00:00
issuer -> authorizationServer refactor (#250359)
* `issuer` -> `authorizationServer` refactor Also: * adds `authorizationServerGlobs` to the authentication contribution schema * removes ugly MCP issuer hack and instead plumbs the authorizationServer down to the new auth providers
This commit is contained in:
committed by
GitHub
parent
a2ebac10a3
commit
c235626145
@@ -35,14 +35,14 @@
|
||||
{
|
||||
"label": "GitHub",
|
||||
"id": "github",
|
||||
"issuerGlobs": [
|
||||
"authorizationServerGlobs": [
|
||||
"https://github.com/login/oauth"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "GitHub Enterprise Server",
|
||||
"id": "github-enterprise",
|
||||
"issuerGlobs": [
|
||||
"authorizationServerGlobs": [
|
||||
"*"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -143,7 +143,7 @@ export class GitHubAuthenticationProvider implements vscode.AuthenticationProvid
|
||||
this,
|
||||
{
|
||||
supportsMultipleAccounts: true,
|
||||
supportedIssuers: [
|
||||
supportedAuthorizationServers: [
|
||||
ghesUri ?? vscode.Uri.parse('https://github.com/login/oauth')
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user