Restrict access via domains and whitelists
masterYou can restrict which users are allowed to authenticate using two methods:
- Domain Restriction: Use
--domain=<domain>to only allow users with specific email domains (e.g.,--domain=example.com). This can be set multiple times. - Whitelist Restriction: Use
--whitelist=<email>to only allow specific email addresses. This can be set multiple times.
In v3, users are permitted if they match either the whitelist or domain parameters by default. In v2, this behavior is controlled by the --match-whitelist-or-domain flag (defaults to false).