[model-gateway] add JWT/OIDC authentication for control plane APIs (#15850)

This commit is contained in:
Simo Lin
2025-12-26 18:30:00 -08:00
committed by GitHub
parent 67caea6fe4
commit 4edee6954a
17 changed files with 3738 additions and 10 deletions
+1
View File
@@ -207,6 +207,7 @@ async fn create_test_app_with_wasm() -> (axum::Router, Arc<AppContext>, TempDir)
let app = build_app(
app_state,
sgl_model_gateway::middleware::AuthConfig { api_key: None },
None, // No control plane auth for tests
256 * 1024 * 1024,
request_id_headers,
vec![], // cors_allowed_origins