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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
docs Microsoft Entra ID SSO group assignment
Ishaan Jaff00c5c23d970e
diff --git a/docs/my-website/docs/proxy/self_serve.md b/docs/my-website/docs/proxy/self_serve.mdindex 5e7438585e5..d630c8e7f3e 100644--- a/docs/my-website/docs/proxy/self_serve.md+++ b/docs/my-website/docs/proxy/self_serve.md@@ -161,43 +161,11 @@ Here's the available UI roles for a LiteLLM Internal User:- `internal_user`: can login, view/create/delete their own keys, view their spend. **Cannot** add new users.- `internal_user_viewer`: can login, view their own keys, view their own spend. **Cannot** create/delete keys, add new users.-## Advanced-### Setting custom logout URLs--Set `PROXY_LOGOUT_URL` in your .env if you want users to get redirected to a specific URL when they click logout--```-export PROXY_LOGOUT_URL="https://www.google.com"-```--<Image img={require('../../img/ui_logout.png')} style={{ width: '400px', height: 'auto' }} />---### Set max budget for internal users--Automatically apply budget per internal user when they sign up. By default the table will be checked every 10 minutes, for users to reset. To modify this, [see this](./users.md#reset-budgets)--```yaml-litellm_settings:- max_internal_user_budget: 10- internal_user_budget_duration: "1mo" # reset every month-```--This sets a max budget of $10 USD for internal users when they sign up.--This budget only applies to personal keys created by that user - seen under `Default Team` on the UI.+## Auto-add SSO users to teams-<Image img={require('../../img/max_budget_for_internal_users.png')} style={{ width: '500px', height: 'auto' }} />--This budget does not apply to keys created under non-default teams.---### Set max budget for teams--[**Go Here**](./team_budgets.md)--### Auto-add SSO users to teams+This walks through setting up sso auto-add for **Okta, Google SSO**+### Okta, Google SSO1. Specify the JWT field that contains the team ids, that the user belongs to.@@ -233,6 +201,16 @@ curl -X POST '<PROXY_BASE_URL>/team/new' \Here's a walkthrough of [how it works](https://www.loom.com/share/8959be458edf41fd85937452c29a33f3?sid=7ebd6d37-569a-4023-866e-e0cde67cb23e)+### Microsoft Entra ID SSO group assignment++This walks through setting up sso auto-add for **Microsoft Entra ID**++Follow along this video for a walkthrough of how to set this up with Microsoft Entra ID+++<iframe width="840" height="500" src="https://www.loom.com/embed/ea711323aa9a496d84a01fd7b2a12f54?sid=c53e238c-5bfd-4135-b8fb-b5b1a08632cf" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>++### Debugging SSO JWT fieldsIf you need to inspect the JWT fields received from your SSO provider by LiteLLM, follow these instructions. This guide walks you through setting up a debug callback to view the JWT data during the SSO process.@@ -266,6 +244,42 @@ If you need to inspect the JWT fields received from your SSO provider by LiteLLMOnce redirected, you should see a page called "SSO Debug Information". This page displays the JWT fields received from your SSO provider (as shown in the image above)+## Advanced+### Setting custom logout URLs++Set `PROXY_LOGOUT_URL` in your .env if you want users to get redirected to a specific URL when they click logout++```+export PROXY_LOGOUT_URL="https://www.google.com"+```++<Image img={require('../../img/ui_logout.png')} style={{ width: '400px', height: 'auto' }} />+++### Set max budget for internal users++Automatically apply budget per internal user when they sign up. By default the table will be checked every 10 minutes, for users to reset. To modify this, [see this](./users.md#reset-budgets)++```yaml+litellm_settings:+ max_internal_user_budget: 10+ internal_user_budget_duration: "1mo" # reset every month+```++This sets a max budget of $10 USD for internal users when they sign up.++This budget only applies to personal keys created by that user - seen under `Default Team` on the UI.++<Image img={require('../../img/max_budget_for_internal_users.png')} style={{ width: '500px', height: 'auto' }} />++This budget does not apply to keys created under non-default teams.+++### Set max budget for teams++[**Go Here**](./team_budgets.md)++### Restrict Users from creating personal keysThis is useful if you only want users to create keys under a specific team.