Structuur van het registratieobject
Voorbeeld
# Example Registration Object Structure
registration:
socialLogins: ["google", "facebook", "github", "discord", "openid"]
allowedDomains:
- "gmail.com"
- "protonmail.com"socialLogins
Sleutel:
| Key | Type | Description | Example |
|---|---|---|---|
| socialLogins | Array of Strings | Definieert de beschikbare social login-providers en hun weergavevolgorde. | 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. |
Voorbeeld:
socialLogins: ["google", "facebook", "github", "discord", "openid"]allowedDomains
Sleutel:
| Key | Type | Description | Example |
|---|---|---|---|
| allowedDomains | Array of Strings | Een lijst met toegestane e-maildomeinen voor registratie. | Users with email domains not listed will be restricted from registering. |
Vereist
Voorbeeld:
allowedDomains:
- "gmail.com"
- "protonmail.com"Hoe is deze gids?