File tree 1 file changed +12
-0
lines changed
components/server/src/oauth-server
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,17 @@ const desktopClient: OAuthClient = {
141
141
] ,
142
142
} ;
143
143
144
+ const toolbox : OAuthClient = {
145
+ id : "toolbox-gateway-gitpod-plugin" ,
146
+ name : "JetBrains Toolbox Gitpod Plugin" ,
147
+ redirectUris : [ "jetbrains://gateway/io.gitpod.toolbox.gateway/auth" ] ,
148
+ allowedGrants : [ "authorization_code" ] ,
149
+ scopes : [
150
+ // We scope all so that it can work in papi like a PAT
151
+ { name : "function:*" } ,
152
+ ] ,
153
+ } ;
154
+
144
155
const vscode = createVSCodeClient ( "vscode" , "VS Code" ) ;
145
156
const vscodeInsiders = createVSCodeClient ( "vscode-insiders" , "VS Code Insiders" ) ;
146
157
@@ -157,6 +168,7 @@ export const inMemoryDatabase: InMemory = {
157
168
[ vscodium . id ] : vscodium ,
158
169
[ cursor . id ] : cursor ,
159
170
[ desktopClient . id ] : desktopClient ,
171
+ [ toolbox . id ] : toolbox ,
160
172
} ,
161
173
tokens : { } ,
162
174
scopes : { } ,
You can’t perform that action at this time.
0 commit comments