BerriAI / litellm

Python SDK, Proxy Server to call 100+ LLM APIs using the OpenAI format - [Bedrock, Azure, OpenAI, VertexAI, Cohere, Anthropic, Sagemaker, HuggingFace, Replicate, Groq]
https://docs.litellm.ai/docs/
Other
12.26k stars 1.42k forks source link

[Feature]: JWT-Auth allow specific emails automatic access #5605

Closed krrishdholakia closed 5 days ago

krrishdholakia commented 1 week ago

The Feature

Allow users who belong to a specific email domain, automatic access - (apply litellm user defaults)

Motivation, pitch

improved self-serve flow

Twitter / LinkedIn details

No response

krrishdholakia commented 1 week ago

Potential Ideas:

krrishdholakia commented 1 week ago
general_settings:
  master_key: sk-1234
  enable_jwt_auth: True
  litellm_jwtauth:
    user_email_jwt_field: "sub" # 👈 CAN BE ANY FIELD
    user_allowed_email_subdomain: "my-co.com" # allows user@my-co.com to call proxy