@aws-amplify/amplify-category-auth
Version:
amplify-cli authentication plugin
33 lines (32 loc) • 985 B
JSON
{
"email-filter-allowlist": {
"name": "Sign-Up email filtering (allowlist)",
"description": "This template only allows signup with emails from specified domains.",
"env": [
{
"key": "DOMAINALLOWLIST",
"value": "askUser",
"question": {
"name": "DOMAINALLOWLIST",
"type": "input",
"message": "Enter a comma-delimited list of allowed email domains (example: 'mydomain.com, myotherdomain.com')."
}
}
]
},
"email-filter-denylist": {
"name": "Sign-Up email filtering (denylist)",
"description": "This template prevents signup with emails from specified domains.",
"env": [
{
"key": "DOMAINDENYLIST",
"value": "askUser",
"question": {
"name": "DOMAINDENYLIST",
"type": "input",
"message": "Enter a comma-delimited list of disallowed email domains (example: 'mydomain.com, myotherdomain.com')."
}
}
]
}
}