mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-03 16:23:06 +00:00
* 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>