feat: OpenAICompatibleOAuthProvider (config-driven OAuthProvider impl)

This commit is contained in:
2026-07-20 12:55:30 -06:00
parent 68177fdb6a
commit 66bbb34d7f
7 changed files with 105 additions and 11 deletions
+2 -2
View File
@@ -25,8 +25,8 @@ impl OAuthProvider for ClaudeOAuthProvider {
"https://console.anthropic.com/oauth/code/callback"
}
fn scopes(&self) -> &str {
"org:create_api_key user:profile user:inference"
fn scopes(&self) -> String {
"org:create_api_key user:profile user:inference".to_string()
}
fn extra_authorize_params(&self) -> Vec<(&str, &str)> {