@@ -57,13 +57,16 @@ const jetBrainsGateway: OAuthClient = {
57
57
] ,
58
58
} ;
59
59
60
- function createVSCodeClient ( protocol : "vscode" | "vscode-insiders" | "vscodium" ) : OAuthClient {
60
+ function createVSCodeClient ( protocol : "vscode" | "vscode-insiders" | "vscodium" | "gitpod-code" ) : OAuthClient {
61
61
return {
62
62
id : protocol + "-" + "gitpod" ,
63
63
name : `VS${ protocol === "vscodium" ? "Codium" : " Code" } ${
64
64
protocol === "vscode-insiders" ? " Insiders" : ""
65
65
} : Gitpod extension`,
66
- redirectUris : [ protocol + "://gitpod.gitpod-desktop/complete-gitpod-auth" ] ,
66
+ redirectUris : [
67
+ protocol + "://gitpod.gitpod-desktop/complete-gitpod-auth" ,
68
+ protocol + "://gitpod.gitpod-foo/complete-gitpod-auth" ,
69
+ ] ,
67
70
allowedGrants : [ "authorization_code" ] ,
68
71
scopes : [
69
72
{ name : "function:getGitpodTokenScopes" } ,
@@ -82,6 +85,7 @@ function createVSCodeClient(protocol: "vscode" | "vscode-insiders" | "vscodium")
82
85
const vscode = createVSCodeClient ( "vscode" ) ;
83
86
const vscodeInsiders = createVSCodeClient ( "vscode-insiders" ) ;
84
87
const vscodium = createVSCodeClient ( "vscodium" ) ;
88
+ const gitpodcode = createVSCodeClient ( "gitpod-code" ) ;
85
89
86
90
export const inMemoryDatabase : InMemory = {
87
91
clients : {
@@ -90,6 +94,7 @@ export const inMemoryDatabase: InMemory = {
90
94
[ vscode . id ] : vscode ,
91
95
[ vscodeInsiders . id ] : vscodeInsiders ,
92
96
[ vscodium . id ] : vscodium ,
97
+ [ gitpodcode . id ] : gitpodcode ,
93
98
} ,
94
99
tokens : { } ,
95
100
scopes : { } ,
0 commit comments