This guide explains how to automatically add users to a Discourse group based on their email domain. It is intended for site administrators who manage Discourse groups.
Required user level: Administrator
Discourse allows you to automatically add users to a custom group based on the email domain that they register with.
To add users to a group based on their email domain:
-
Navigate to the group’s “Manage” → “Membership” page.
-
In the “Automatic” section, add the desired email domain(s).
-
Save to apply the changes. Existing users who match the email domain will also be automatically added to the group upon saving.
This setting is only available for custom groups that you create, but it can be used to automatically grant membership in a Discourse Trust Level group by combining it with the group’s automatic Trust Level setting:
Last edited by @SaraDev 2024-07-09T20:41:17Z
Check document
Perform check on document: