mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
refactor(McpOAuthClientProvider): do not default to openid scope
This commit is contained in:
parent
6e8b9cfb5a
commit
e580b77084
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ export class McpOAuthClientProvider implements OAuthClientProvider {
|
|||
const authMethods: string[] = authServerMeta?.token_endpoint_auth_methods_supported ?? []
|
||||
const tokenEndpointAuthMethod = authMethods.includes("none") ? "none" : (authMethods[0] ?? "client_secret_post")
|
||||
const grantTypes: string[] = authServerMeta?.grant_types_supported ?? ["authorization_code", "refresh_token"]
|
||||
const scopes: string[] = authServerMeta?.scopes_supported ?? ["openid"]
|
||||
const scopes: string[] = authServerMeta?.scopes_supported ?? []
|
||||
|
||||
// Generate a CSRF state token for the OAuth flow.
|
||||
const state = Array.from(crypto.getRandomValues(new Uint8Array(8)))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue