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:
Key | Type | Description | Example |
---|---|---|---|
socialLogins | Array of Strings | Defines 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:
Key | Type | Description | Example |
---|---|---|---|
allowedDomains | Array of Strings | A 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"