Skip to content

Commit 83c145f

Browse files
authored
fix(plugin): scope digitalocean oauth to genai (anomalyco#27599)
1 parent d353a6b commit 83c145f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/opencode/src/plugin/digitalocean.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function buildAuthorizeUrl(state: string): string {
5959
response_type: "token",
6060
client_id: DO_OAUTH_CLIENT_ID,
6161
redirect_uri: redirectUri(),
62-
scope: "read write",
62+
scope: "genai:create genai:read",
6363
state,
6464
})
6565
return `${DO_AUTHORIZE_URL}?${params.toString()}`

0 commit comments

Comments
 (0)