This topic explains how to restrict account creation to users from selected email domains without the need to use a SSO or LDAP.
The allowedEmailDomains parameter must be configured:
This topic explains how to restrict account creation to users from selected email domains without the need to use a SSO or LDAP.
The allowedEmailDomains parameter must be configured:
{
"ui": {
/* [..] */
"authentication": {
"realms": [
/* [..] */
],
"registration": {
"type": "VERIFIED"
"allowedEmailDomains" : ["$EMAIL_DOMAIN"]
}
}
}
}
Users will be notified that they are not allowed to register with an email address domain that does not match the ones entered for this parameter.
Example
"registration": {
"type": "VERIFIED",
"allowedEmailDomains" : ["antidot.net","fluidtopics.com"]
}
A user whose email address is "user@gmail.com" would not be allowed to register.