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
refactor(admin_ui_sso.md): refactor to include /sso/debug/callback in this doc
Krrish Dholakia6e426c8b7c14
diff --git a/docs/my-website/docs/proxy/admin_ui_sso.md b/docs/my-website/docs/proxy/admin_ui_sso.mdindex 29db9d33464..3e64cad7726 100644--- a/docs/my-website/docs/proxy/admin_ui_sso.md+++ b/docs/my-website/docs/proxy/admin_ui_sso.md@@ -329,4 +329,38 @@ PROXY_BASE_URL=https://mydomain.comIf you need to access the UI via username/password when SSO is on navigate to `/fallback/login`. This route will allow you to sign in with your username/password credentials.-<Image img={require('../../img/fallback_login.png')} />\ No newline at end of file+<Image img={require('../../img/fallback_login.png')} />+++### Debugging SSO JWT fields++If 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.+++<Image img={require('../../img/debug_sso.png')} style={{ width: '500px', height: 'auto' }} />+<br />++1. Add `/sso/debug/callback` as a redirect URL in your SSO provider++ In your SSO provider's settings, add the following URL as a new redirect (callback) URL:++ ```bash showLineNumbers title="Redirect URL"+ http://<proxy_base_url>/sso/debug/callback+ ```+++2. Navigate to the debug login page on your browser++ Navigate to the following URL on your browser:++ ```bash showLineNumbers title="URL to navigate to"+ https://<proxy_base_url>/sso/debug/login+ ```++ This will initiate the standard SSO flow. You will be redirected to your SSO provider's login screen, and after successful authentication, you will be redirected back to LiteLLM's debug callback route.+++3. View the JWT fields++Once 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)+diff --git a/docs/my-website/docs/proxy/self_serve.md b/docs/my-website/docs/proxy/self_serve.mdindex e7860b42478..815231b59a2 100644--- a/docs/my-website/docs/proxy/self_serve.md+++ b/docs/my-website/docs/proxy/self_serve.md@@ -212,35 +212,7 @@ Follow this [tutorial for auto-adding sso users to teams with Microsoft Entra ID### Debugging SSO JWT fields-If 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.---<Image img={require('../../img/debug_sso.png')} style={{ width: '500px', height: 'auto' }} />-<br />--1. Add `/sso/debug/callback` as a redirect URL in your SSO provider-- In your SSO provider's settings, add the following URL as a new redirect (callback) URL:-- ```bash showLineNumbers title="Redirect URL"- http://<proxy_base_url>/sso/debug/callback- ```---2. Navigate to the debug login page on your browser-- Navigate to the following URL on your browser:-- ```bash showLineNumbers title="URL to navigate to"- https://<proxy_base_url>/sso/debug/login- ```-- This will initiate the standard SSO flow. You will be redirected to your SSO provider's login screen, and after successful authentication, you will be redirected back to LiteLLM's debug callback route.---3. View the JWT fields--Once 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)+[**Go Here**](./admin_ui_sso.md#debugging-sso-jwt-fields)## Advanced