Structure de l'objet d'inscription
Exemple
# Example Registration Object Structure
registration:
socialLogins: ["google", "facebook", "github", "discord", "openid"]
allowedDomains:
- "gmail.com"
- "protonmail.com"socialLogins
Clé :
| Key | Type | Description | Example |
|---|---|---|---|
| socialLogins | Array of Strings | Définit les fournisseurs de connexion sociale disponibles et leur ordre d'affichage. | 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. |
Exemple :
socialLogins: ["google", "facebook", "github", "discord", "openid"]allowedDomains
Clé :
| Key | Type | Description | Example |
|---|---|---|---|
| allowedDomains | Array of Strings | Une liste spécifiant les domaines d'e-mail autorisés pour l'inscription. | Users with email domains not listed will be restricted from registering. |
Requis
Exemple :
allowedDomains:
- "gmail.com"
- "protonmail.com"Que pensez-vous de ce guide ?