litellm/.github
yujonglee c25c669167
feat(auth): decide key and JWT authentication in a Rust core (#51374)
gateway-auth-core gains plan/ and credential/, which plan and decide key and
JWT authentication on top of its route rules. The Python proxy now runs that
core through python-bridge with a PythonAuthHost, which replaces
handle_jwt.py and the key and JWT paths of user_api_key_auth.py.

The core defines Token, MasterKey and KeyHash, and config gains the JWT auth
settings. Route groups named in allowed_routes match as starlette's
compile_path compiles them, like _allowed_routes_check, and a team's
allowed and denied pass-through routes read as RouteLists. allow_user_auth,
allow_requests_on_db_unavailable and enforce_rbac read through python-compat's
IsTrue, StrBool and Truthy adapters, and StrBool reads text with
flags::str_to_bool.

Fixes that landed on main in the code this moves carry over: every user read
the core makes from a JWT hands the raw email_verified claim to the host,
which reads it with read_email_verified, the impersonation header applies
after a master key, cached admin, virtual key or mapped JWT key is accepted,
and the team member budget step uses the native budget decision.

A JWT email claim that is not a string reads as no email, the same as a
missing claim, instead of being stored as the number's text.

The native extension size cap rises from 55 MB to 65 MB, since the auth core
brings the Linux build to 56.85 MB.
2026-11-17 14:07:47 +09:00
..
actions ci: stop PR runs from thrashing the Actions cache and stop smoke compiling from source (#51343) 2026-11-11 23:52:32 -08:00
assets/scaledown feat(scaledown): add native text provider support (#44168) 2026-10-10 14:01:17 -07:00
codeql ci(codeql): run the default suite on full scans and security-extended on PRs (#45149) 2026-10-07 13:24:28 -07:00
e2e-stack test(mcp): replace the live Linear MCP OAuth e2e tests with integration coverage (#47154) 2026-10-17 14:29:59 -07:00
ISSUE_TEMPLATE ci: classify new issues into domain, provider, kind, priority and lift labels 2026-09-18 11:37:55 -07:00
linters chore(lint): flag conditionals with more than 3 boolean clauses via ruff PLR0916 (#51964) 2026-11-15 16:53:38 -05:00
packaging chore: move workspace packages under litellm (#51000) 2026-11-12 04:19:57 +00:00
pr-assets feat(customer-portal): complete hierarchy management (#51521) 2026-11-13 17:58:34 +00:00
prompts ci: classify new issues into domain, provider, kind, priority and lift labels 2026-09-18 11:37:55 -07:00
PULL_REQUEST_TEMPLATE docs(pr-template): require rerunnable proof setup and collapsed long output (#50258) 2026-11-05 13:24:50 -08:00
screenshots fix(team_endpoints): auto-add SSO team members to org on move (proxy admin only) (#26377) 2026-04-24 08:36:25 -07:00
scripts feat(auth): decide key and JWT authentication in a Rust core (#51374) 2026-11-17 14:07:47 +09:00
semgrep/rules chore: move config and docs off the repo root (#50966) 2026-11-11 18:29:35 -08:00
workflows feat(control_plane): service skeleton, settings, license gate, JWT auth and scope RBAC (#49654) 2026-11-16 17:36:22 +00:00
AGENTS.md ci: remove CircleCI (#50950) 2026-11-11 15:38:27 -08:00
ci-coverage-allowlist.yml chore: move workspace packages under litellm (#51000) 2026-11-12 04:19:57 +00:00
codecov.yml chore: move workspace packages under litellm (#51000) 2026-11-12 04:19:57 +00:00
CODEOWNERS chore: move scripts and runtime sources under litellm (#51006) 2026-11-12 04:19:57 +00:00
CONTRIBUTING.md chore: move scripts and runtime sources under litellm (#51006) 2026-11-12 04:19:57 +00:00
dependabot.yaml chore: fixes 2026-04-05 01:30:57 -07:00
deploy-on-aws.png feat: add LiteLLM Rust workspace with Mistral OCR bridge (#31033) 2026-06-23 13:16:47 -07:00
deploy-on-gcp.png feat: add LiteLLM Rust workspace with Mistral OCR bridge (#31033) 2026-06-23 13:16:47 -07:00
deploy-to-aws.png Add files via upload 2023-10-25 16:33:53 -07:00
FUNDING.yml Update FUNDING.yml 2023-09-22 09:51:35 -07:00
gitguardian.yaml chore: move scripts and runtime sources under litellm (#51006) 2026-11-12 04:19:57 +00:00
grype.yaml chore: move config and docs off the repo root (#50966) 2026-11-11 18:29:35 -08:00
issue-labels.json ci(issue-classifier): name every workflow, script and job after the issue it works on 2026-09-18 11:37:55 -07:00
mutmut-coverage.rc fix(ci): let the mutation workflow find covered lines so it generates mutants 2026-08-25 23:16:40 -07:00
osv-scanner.toml fix(deps): bump opentelemetry, dnspython and tornado past the Nov 13 advisories so osv-scan passes (#51712) 2026-11-13 21:42:44 +00:00
SECURITY.md chore: move config and docs off the repo root (#50966) 2026-11-11 18:29:35 -08:00
template.yaml fix(proxy): drop legacy telemetry key from persisted WORKER_CONFIG before initialize 2026-09-20 03:14:11 +00:00