diff --git a/extensions/github-authentication/src/common/env.ts b/extensions/github-authentication/src/common/env.ts index ebc474936aa..5456fb864ee 100644 --- a/extensions/github-authentication/src/common/env.ts +++ b/extensions/github-authentication/src/common/env.ts @@ -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 { diff --git a/extensions/microsoft-authentication/src/common/env.ts b/extensions/microsoft-authentication/src/common/env.ts index 9460a27d2fe..b63c94195a9 100644 --- a/extensions/microsoft-authentication/src/common/env.ts +++ b/extensions/microsoft-authentication/src/common/env.ts @@ -9,12 +9,15 @@ export const DEFAULT_REDIRECT_URI = 'https://vscode.dev/redirect'; 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 {