have code-oss use device code flow

This commit is contained in:
Tyler Leonhardt
2022-03-28 09:05:19 -07:00
parent 67ed9421c5
commit b1fb11e18c
2 changed files with 8 additions and 2 deletions

View File

@@ -7,7 +7,11 @@ import { Uri } from 'vscode';
const VALID_DESKTOP_CALLBACK_SCHEMES = [
'vscode',
'vscode-insiders',
'code-oss',
// 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.
// The behavior was experienced on Windows.
// 'code-oss',
'vscode-wsl',
'vscode-exploration'
];