Skip to content

Commit

Permalink
Disable oidc librechat
Browse files Browse the repository at this point in the history
  • Loading branch information
wipash committed Jan 12, 2025
1 parent 7735984 commit 3de5d62
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions kubernetes/main/apps/default/librechat/app/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ data:

ALLOW_EMAIL_LOGIN: "true"
ALLOW_REGISTRATION: "false"
ALLOW_SOCIAL_LOGIN: "true"
ALLOW_SOCIAL_REGISTRATION: "true"
ALLOW_SOCIAL_LOGIN: "false"
ALLOW_SOCIAL_REGISTRATION: "false"
ALLOW_PASSWORD_RESET: "true"
ALLOW_ACCOUNT_DELETION: "true" # note: enabled by default if omitted/commented out
ALLOW_UNVERIFIED_EMAIL_LOGIN: "true"
Expand All @@ -124,10 +124,10 @@ data:
EMAIL_USERNAME: "none"
EMAIL_PASSWORD: "none"

OPENID_SCOPE: "openid profile email User.Read"
OPENID_CALLBACK_URL: "/oauth/openid/callback"
OPENID_BUTTON_LABEL: "Sign in with your Holmes account"
OPENID_IMAGE_URL: "https://holmesazaepubshare.blob.core.windows.net/pub/favicon-32x32.png"
# OPENID_SCOPE: "openid profile email User.Read"
# OPENID_CALLBACK_URL: "/oauth/openid/callback"
# OPENID_BUTTON_LABEL: "Sign in with your Holmes account"
# OPENID_IMAGE_URL: "https://holmesazaepubshare.blob.core.windows.net/pub/favicon-32x32.png"

DOMAIN_CLIENT: "https://chat.mcgrath.nz"
DOMAIN_SERVER: "https://chat.mcgrath.nz"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ spec:
JWT_SECRET: "{{ .JWT_SECRET }}"
JWT_REFRESH_SECRET: "{{ .JWT_REFRESH_SECRET }}"

OPENID_CLIENT_ID: "{{ .OPENID_CLIENT_ID }}"
OPENID_CLIENT_SECRET: "{{ .OPENID_CLIENT_SECRET }}"
OPENID_SESSION_SECRET: "{{ .OPENID_SESSION_SECRET }}"
OPENID_ISSUER: "{{ .OPENID_ISSUER }}"
# OPENID_CLIENT_ID: "{{ .OPENID_CLIENT_ID }}"
# OPENID_CLIENT_SECRET: "{{ .OPENID_CLIENT_SECRET }}"
# OPENID_SESSION_SECRET: "{{ .OPENID_SESSION_SECRET }}"
# OPENID_ISSUER: "{{ .OPENID_ISSUER }}"

dataFrom:
- extract:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ interface:
agents: true

# Example Registration Object Structure (optional)
registration:
socialLogins: ["openid"]
# registration:
# socialLogins: ["openid"]
# allowedDomains:
# - "gmail.com"

Expand Down

0 comments on commit 3de5d62

Please sign in to comment.