docs(auth): add scope and wildcard support for JWT routing overrides#31
Open
milan-berri wants to merge 1 commit intoBerriAI:mainfrom
Open
docs(auth): add scope and wildcard support for JWT routing overrides#31milan-berri wants to merge 1 commit intoBerriAI:mainfrom
milan-berri wants to merge 1 commit intoBerriAI:mainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…ides Backfills the `BerriAI/litellm-docs` site with the changes that originally shipped under `docs/my-website/` in BerriAI/litellm#25939 / #26325. After the docs source was migrated to this repo, those edits could no longer be carried in the code PR and were dropped on rebase. - proxy/token_auth.md: expand "Matching behavior" with AND semantics, the new optional `scope` selector, list/string forms, shell-style wildcards (`*`, `?`, case-sensitive), and the scope-only space-split rule (iss/aud/client_id are never split on spaces). Adds a worked example combining `scope` with a wildcard `client_id`. - proxy/oauth2.md: cross-reference the new wildcard/scope behavior and point readers to token_auth.md for full details. Code change is in BerriAI/litellm#26325 (litellm_internal_staging).
97c2edf to
8cb6e1b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Backfills this docs site with the documentation that originally shipped under
docs/my-website/in BerriAI/litellm#25939 / #26325. After the docs source was migrated out of the litellm repo, those doc edits could no longer be carried in the code PR and were dropped on rebase — this PR brings them over.Changes
docs/proxy/token_auth.md— expand the "Matching behavior" section underrouting_overrides:scopeselector*,?), case-sensitiveiss,aud,client_idare never split on spaces)scopewith a wildcardclient_iddocs/proxy/oauth2.md— short cross-reference to the new wildcard/scope behavior, pointing readers attoken_auth.md.No content changes outside these two files.
Related
litellm_internal_staging)Test plan
docs/proxy/token_auth.mdlocally and confirm the new "Matching behavior" bullets and theExample: scope and wildcard client_idYAML block are formatted correctly.docs/proxy/oauth2.mdlocally and confirm the cross-reference link totoken_auth.md#route-jwt-shaped-machine-tokens-to-oauth2resolves.Made with Cursor