litellm/tests/test_litellm/proxy/auth
brtydse100 dd1ea3d39e Support multiple headers mapped to the customer user role (#23664)
* added the header mapping feature

* added tests

* final cleanup

* final cleanup

* added missing test and logic

* fixed header sending bug

* Update litellm/proxy/auth/auth_utils.py

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* added back init file in responses + fixed test_auth_utils.py  int local_testing

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-03-15 14:20:45 +05:30
..
test_auth_checks.py feat(proxy): include user_email in jwt upsert user creation (#22915) 2026-03-05 10:55:11 -08:00
test_auth_exception_handler.py
test_auth_hot_path_network_requests.py fix: update docker test file to right path 2026-02-19 18:44:28 +05:30
test_auth_utils.py Support multiple headers mapped to the customer user role (#23664) 2026-03-15 14:20:45 +05:30
test_cli_auth.py
test_custom_auth_end_user_budget.py fix(proxy): make common_checks opt-in for custom auth via custom_auth_run_common_checks 2026-03-03 22:50:34 +05:30
test_handle_jwt.py fix: apply same AsyncMock pattern to remaining OIDC discovery test 2026-03-03 19:56:51 -03:00
test_info_routes.py test: add unit tests for /v2/user/info endpoint and route checks 2026-03-12 07:46:31 +00:00
test_litellm_license.py
test_login_utils.py remove key blocking 2026-01-31 16:46:17 -08:00
test_mcp_ip_filtering.py Return Clear error message why no tools are available / IP Filtering occured 2026-02-26 09:56:44 +05:30
test_model_checks_fallbacks.py
test_model_checks.py Reapply "feat: add model_cost aliases expansion support" 2026-03-12 13:36:57 -03:00
test_object_permission_loading.py Fix:test_get_key_object_loads_object_permission 2026-02-18 19:18:15 +05:30
test_onboarding.py fix(onboarding): prevent invite link reuse for password reset 2026-02-28 17:39:03 -08:00
test_organization_budget_enforcement.py
test_route_checks.py Allow proxy_admin_viewer to access audit log endpoints 2026-03-11 20:07:51 -07:00
test_team_member_budget.py
test_user_api_key_auth.py feat: allow JWT and OAuth2 auth to coexist on the same instance (#23153) 2026-03-09 08:41:27 -07:00