mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-15 09:02:35 +00:00
fix(plugin): scope digitalocean oauth to genai (#27599)
This commit is contained in:
@@ -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()}`
|
||||
|
||||
Reference in New Issue
Block a user