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

Struttura dell'oggetto di registrazione

Esempio

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

socialLogins

Chiave:

KeyTypeDescriptionExample
socialLoginsArray of StringsDefinisce i provider di social login disponibili e il loro ordine di visualizzazione.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.

Esempio:

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

allowedDomains

Chiave:

KeyTypeDescriptionExample
allowedDomainsArray of StringsUn elenco che specifica i domini email consentiti per la registrazione.Users with email domains not listed will be restricted from registering.

Obbligatorio

Esempio:

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

Com’è questa guida?