mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-03-10 01:52:37 +01:00
started with Multi-Tenant OpenID.
TODO: working code but needs some refactoring and cleaning up.
This commit is contained in:
parent
d786bf263c
commit
6577144554
10 changed files with 350 additions and 58 deletions
|
|
@ -73,6 +73,32 @@ registration:
|
|||
# allowedDomains:
|
||||
# - "gmail.com"
|
||||
|
||||
# Single‑Tenant YAML
|
||||
#openid:
|
||||
# tenants:
|
||||
# - name: "default"
|
||||
# domains: ""
|
||||
# openid:
|
||||
# clientId: "client-id-for-tenant1"
|
||||
# clientSecret: "client-secret-for-tenant1"
|
||||
# issuer: "https://example.com/oidc"
|
||||
|
||||
# Add your multi-tenant OpenID settings:
|
||||
openid:
|
||||
tenants:
|
||||
- name: "tenant1"
|
||||
domains: "first.com,example.com"
|
||||
openid:
|
||||
clientId: "client-id-for-tenant1"
|
||||
clientSecret: "client-secret-for-tenant1"
|
||||
issuer: "https://example.com/oidc"
|
||||
- name: "tenant2"
|
||||
domains: "another.com,one.com"
|
||||
openid:
|
||||
clientId: "client-id-for-tenant2"
|
||||
clientSecret: "client-secret-for-tenant2"
|
||||
issuer: "https://example.com/oidc2"
|
||||
|
||||
# speech:
|
||||
# tts:
|
||||
# openai:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue