File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
components/server/src/oauth-server Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -147,8 +147,17 @@ const toolbox: OAuthClient = {
147
147
redirectUris : [ "jetbrains://gateway/io.gitpod.toolbox.gateway/auth" ] ,
148
148
allowedGrants : [ "authorization_code" ] ,
149
149
scopes : [
150
- // We scope all so that it can work in papi like a PAT
151
- { name : "function:*" } ,
150
+ { name : "function:getGitpodTokenScopes" } ,
151
+ { name : "function:getLoggedInUser" } ,
152
+ { name : "function:getOwnerToken" } ,
153
+ { name : "function:getWorkspace" } ,
154
+ { name : "function:getWorkspaces" } ,
155
+ { name : "function:listenForWorkspaceInstanceUpdates" } ,
156
+ { name : "function:startWorkspace" } ,
157
+ { name : "function:stopWorkspace" } ,
158
+ { name : "function:deleteWorkspace" } ,
159
+ { name : "function:getToken" } ,
160
+ { name : "resource:default" } ,
152
161
] ,
153
162
} ;
154
163
You can’t perform that action at this time.
0 commit comments