Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

docs: Clarify optional user_allowed_email_domain (#17034)

Krish Dholakia7c1dfd4462fd
diff --git a/docs/my-website/docs/proxy/token_auth.md b/docs/my-website/docs/proxy/token_auth.md
index 4e6ff30a188..c2a88010d79 100644
--- a/docs/my-website/docs/proxy/token_auth.md
+++ b/docs/my-website/docs/proxy/token_auth.md
@@ -394,6 +394,8 @@ curl --location 'http://0.0.0.0:4000/team/unblock' \
### Upsert Users + Allowed Email Domains
Allow users who belong to a specific email domain, automatic access to the proxy.
+
+**Note:** `user_allowed_email_domain` is optional. If not specified, all users will be allowed regardless of their email domain.
```yaml
general_settings:
@@ -401,7 +403,7 @@ general_settings:
enable_jwt_auth: True
litellm_jwtauth:
user_email_jwt_field: "email" # 👈 checks 'email' field in jwt payload
- user_allowed_email_domain: "my-co.com" # allows [email protected] to call proxy
+ user_allowed_email_domain: "my-co.com" # 👈 OPTIONAL - allows [email protected] to call proxy
user_id_upsert: true # 👈 upserts the user to db, if valid email but not in db
```