Docs
⚙️ Configuration
librechat.yaml
Settings
Registration

Registration Object Structure

Example

Registration Object Structure
# Example Registration Object Structure
registration:
  socialLogins: ["google", "facebook", "github", "discord", "openid"]
  allowedDomains:
    - "gmail.com"
    - "protonmail.com"

socialLogins

Key:

KeyTypeDescriptionExample
socialLoginsArray of StringsDefines the available social login providers and their display order.The order of the providers in the list determines their appearance order on the login/registration page. Each provider listed must be properly configured within the system to be active and available for users. This configuration allows for a tailored authentication experience, emphasizing the most relevant or preferred social login options for your user base.

Example:

registration / socialLogins
socialLogins: ["google", "facebook", "github", "discord", "openid"]

allowedDomains

Key:

KeyTypeDescriptionExample
allowedDomainsArray of StringsA list specifying allowed email domains for registration.Users with email domains not listed will be restricted from registering.

Required

Example:

registration / allowedDomains
allowedDomains:
  - "gmail.com"
  - "protonmail.com"