Skip to main content
LibreChat is joining ClickHouse to power the open-source Agentic Data Stack 🎉 Learn more
LibreChat

Estructura del objeto de registro

Ejemplo

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

socialLogins

Clave:

KeyTypeDescriptionExample
socialLoginsArray of StringsDefine los proveedores de inicio de sesión social disponibles y su orden de visualización.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.

Ejemplo:

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

allowedDomains

Clave:

KeyTypeDescriptionExample
allowedDomainsArray of StringsUna lista que especifica los dominios de correo electrónico permitidos para el registro.Users with email domains not listed will be restricted from registering.

Requerido

Ejemplo:

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

¿Qué te parece esta guía?