fix(oidc): Switch LibreChat and MCP OAuth to local Keycloak (keycloak.sttlab.local)
This commit is contained in:
@@ -5,11 +5,44 @@ metadata:
|
||||
namespace: librechat
|
||||
data:
|
||||
librechat.yaml: |
|
||||
version: 1.3.9
|
||||
version: 1.3.13
|
||||
mcpSettings:
|
||||
allowedDomains:
|
||||
- "http://mcp-jira.mcp.svc.cluster.local:9000"
|
||||
- "https://catalog-dev.sttlab.local"
|
||||
mcpServers:
|
||||
jira:
|
||||
catalog-mcp:
|
||||
type: streamable-http
|
||||
url: http://mcp-jira.mcp.svc.cluster.local:9000/mcp
|
||||
url: https://catalog-dev.sttlab.local/catalog-mcp
|
||||
oauth:
|
||||
authorization_url: https://keycloak.sttlab.local/realms/classic-models/protocol/openid-connect/auth
|
||||
token_url: https://keycloak.sttlab.local/realms/classic-models/protocol/openid-connect/token
|
||||
client_id: librechat
|
||||
client_secret: '${LIBRECHAT_OIDC_CLIENT_SECRET}'
|
||||
redirect_uri: https://librechat.sttlab.local/api/mcp/catalog-mcp/oauth/callback
|
||||
scope: 'openid mcp-catalog-audience kong-token-exchange-broker-audience'
|
||||
grant_types_supported: ['authorization_code', 'refresh_token']
|
||||
token_endpoint_auth_methods_supported: ['client_secret_post']
|
||||
endpoints:
|
||||
custom:
|
||||
# kong-v2's platform-llm proxy (not the old kube/llms/openrouter lab)
|
||||
# — key-auth, same shared-key limitation as before (LibreChat's
|
||||
# custom endpoints don't support OAuth/OIDC on this outbound leg).
|
||||
# baseURL is `/llm/v1`, not the full path: LibreChat appends
|
||||
# `/chat/completions` itself.
|
||||
- name: 'OpenRouter'
|
||||
apiKey: '${PLATFORM_LLM_LIBRECHAT_APIKEY}'
|
||||
baseURL: 'https://llm-dev.sttlab.local/llm/v1'
|
||||
headers:
|
||||
apikey: '${PLATFORM_LLM_LIBRECHAT_APIKEY}'
|
||||
models:
|
||||
default:
|
||||
- 'google/gemini-3.7-flash'
|
||||
- 'anthropic/claude-sonnet-5'
|
||||
- 'openai/gpt-5.6-luna'
|
||||
- 'deepseek/deepseek-v4-flash'
|
||||
- 'openai/gpt-oss-120b'
|
||||
- 'mistralai/mistral-nemo'
|
||||
fetch: false
|
||||
titleConvo: true
|
||||
titleModel: 'google/gemini-3.7-flash'
|
||||
modelDisplayLabel: 'OpenRouter'
|
||||
|
||||
Reference in New Issue
Block a user