diff --git a/src/mcp/oauth.rs b/src/mcp/oauth.rs index 0ee0236..2dd8b52 100644 --- a/src/mcp/oauth.rs +++ b/src/mcp/oauth.rs @@ -1,4 +1,4 @@ -use crate::client::oauth::{OAuthProvider, load_oauth_tokens, run_oauth_flow}; +use crate::client::oauth::{OAuthProvider, TokenRequestFormat, load_oauth_tokens, run_oauth_flow}; use crate::config::paths; use anyhow::{Context, Result, anyhow}; use chrono::Utc; @@ -63,6 +63,10 @@ impl OAuthProvider for McpOAuthProvider { &self.scopes } + fn token_request_format(&self) -> TokenRequestFormat { + TokenRequestFormat::FormUrlEncoded + } + fn uses_localhost_redirect(&self) -> bool { false }