litellm/tests/litellm
Cesar Garcia b33e1e8019
feat(sdk): add proxy_auth for auto OAuth2/JWT token management (#20238)
Adds litellm.proxy_auth to automatically obtain and refresh OAuth2/JWT
tokens when connecting to LiteLLM Proxy or any OAuth2-protected endpoint.

- Add ProxyAuthHandler for token lifecycle (obtain, cache, refresh)
- Add AzureADCredential wrapper for azure-identity credentials
- Add GenericOAuth2Credential for any OAuth2 provider (Okta, Auth0, etc)
- Auto-inject Authorization headers in completion() and embedding()

Closes #19834
2026-02-02 22:04:08 -08:00
..
a2a_protocol/providers/pydantic_ai_agents [Feat] New provider - Agent Gateway, add pydantic ai agents (#18013) 2025-12-15 17:40:58 -08:00
llms fix(oci): serialize imageUrl as object for OCI GenAI API 2026-01-23 15:25:40 -03:00
proxy Fix/non standard mcp url pattern (#19738) 2026-01-25 23:00:53 -08:00
test_proxy_auth.py feat(sdk): add proxy_auth for auto OAuth2/JWT token management (#20238) 2026-02-02 22:04:08 -08:00
test_stream_chunk_builder_images.py Fix stream_chunk_builder to preserve images from streaming chunks (#19654) 2026-01-28 21:31:06 -08:00