From 83c145f889a8e2949e7595f63e6d0424f2f20d3f Mon Sep 17 00:00:00 2001 From: Musa Date: Thu, 14 May 2026 13:20:34 -0700 Subject: [PATCH] fix(plugin): scope digitalocean oauth to genai (#27599) --- packages/opencode/src/plugin/digitalocean.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/opencode/src/plugin/digitalocean.ts b/packages/opencode/src/plugin/digitalocean.ts index fa4adf6331..19d1364875 100644 --- a/packages/opencode/src/plugin/digitalocean.ts +++ b/packages/opencode/src/plugin/digitalocean.ts @@ -59,7 +59,7 @@ function buildAuthorizeUrl(state: string): string { response_type: "token", client_id: DO_OAUTH_CLIENT_ID, redirect_uri: redirectUri(), - scope: "read write", + scope: "genai:create genai:read", state, }) return `${DO_AUTHORIZE_URL}?${params.toString()}`