litellm/tests/test_litellm/proxy/_experimental/mcp_server
Talal 46d55bd92a
fix: Add response_type + PKCE parameters to OAuth authorization endpoint (#15720)
* fix: Add response_type parameter to OAuth authorization endpoint

Fixes #15684

OAuth providers like Google require the response_type parameter during
the authorization flow. This commit adds response_type=code to the
authorization redirect parameters, which is required by the OAuth 2.0
specification (RFC 6749 Section 4.1.1).

Changes:
- Added response_type=code to authorization params in discoverable_endpoints.py
- Added test coverage for the response_type parameter

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix oauth flow by forwarding code_challenge and forwarding code_verifier

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-10-21 09:43:19 -07:00
..
auth test mapped tests MCP 2025-10-08 18:34:30 -07:00
test_discoverable_endpoints.py fix: Add response_type + PKCE parameters to OAuth authorization endpoint (#15720) 2025-10-21 09:43:19 -07:00
test_mcp_cost_calculator.py [Feat] Add MCP Cost Tracking (#12385) 2025-07-07 21:08:10 -07:00
test_mcp_custom_fields.py feat: enable custom fields in mcp_info configuration (#14794) 2025-09-22 21:15:35 -07:00
test_mcp_server.py feat(mcp_server_manager.py): ensure list tools for openapi servers works as expected 2025-10-08 15:59:42 -07:00
test_mcp_server_manager.py test(test_mcp_server_manager.py): add unit testing 2025-10-09 14:52:46 -07:00