mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
chore: add example OBO token exchange proxy config
Example YAML config for testing the oauth2_token_exchange auth type with mock MCP and token exchange servers. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
c3f2c8d4a6
commit
2fe7110a8c
1 changed files with 20 additions and 0 deletions
20
test_obo_config.yaml
Normal file
20
test_obo_config.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
model_list:
|
||||
- model_name: gpt-4o
|
||||
litellm_params:
|
||||
model: gpt-4o
|
||||
|
||||
mcp_servers:
|
||||
test_obo:
|
||||
url: http://localhost:9998/mcp
|
||||
transport: http
|
||||
auth_type: oauth2_token_exchange
|
||||
token_exchange_endpoint: http://localhost:9999/oauth2/token
|
||||
audience: api://test-mcp-server
|
||||
scopes:
|
||||
- mcp.tools.read
|
||||
- mcp.tools.execute
|
||||
client_id: litellm-client
|
||||
client_secret: litellm-secret
|
||||
|
||||
general_settings:
|
||||
master_key: sk-1234
|
||||
Loading…
Add table
Reference in a new issue