sessions - allow callback scheme in auth (#298270)

This commit is contained in:
Benjamin Pasero
2026-02-27 16:27:08 +01:00
committed by GitHub
parent 5e2614b085
commit 7027856936
2 changed files with 8 additions and 2 deletions

View File

@@ -8,12 +8,15 @@ import { AuthProviderType } from '../github';
const VALID_DESKTOP_CALLBACK_SCHEMES = [
'vscode',
'vscode-insiders',
'vscode-exploration',
'vscode-sessions',
'vscode-sessions-insiders',
'vscode-sessions-exploration',
// On Windows, some browsers don't seem to redirect back to OSS properly.
// As a result, you get stuck in the auth flow. We exclude this from the
// list until we can figure out a way to fix this behavior in browsers.
// 'code-oss',
'vscode-wsl',
'vscode-exploration'
];
export function isSupportedClient(uri: Uri): boolean {