Before you invite users, decide who can create an account in your workspace and how users sign in. This guide walks you through the security settings to review on a new workspace, in the order to review them.
On a new workspace, the registration form is public. Anyone who has your workspace URL can create an account. Review step 1 before you share the URL.
The settings in steps 1 to 3 are in Manage → Workspace → Settings → Accounts.
Default settings on a new workspace
Setting | Default |
|---|---|
Registration form | Public |
Manually approve new users | Off |
Require email verification to login | Off |
Enable password policy | On |
Enable two-factor authentication | On, with TOTP and email available |
Auto opt in new users for two-factor via email | On |
Step 1: Control who can sign up
In the Registration section, review these settings:
Registration form: Choose who can create an account.
Public: Anyone with the workspace URL.
Secret URL: Only people who have a registration link with a secret code.
Disabled: Nobody can register through the form. You add users yourself.
Manually approve new users: When enabled, an admin must approve each new account before the user can sign in. Pending accounts appear on the Users page.
Allowed domains list: Enter a comma-separated list of email domains, for example
example.com. Only email addresses from these domains can register.
For a description of every registration setting, see Accounts Settings.
Step 2: Review the password policy
In the Password policy section, the password policy is enabled by default. By default, passwords must:
Be at least 14 characters long.
Include at least one lowercase letter, one uppercase letter, one number, and one special character.
Not repeat the same character more than 3 times in a row.
Adjust these rules to match your organization's requirements.
For details, see Accounts Settings.
Step 3: Set up two-factor authentication
In the Two factor authentication section, two-factor authentication (2FA) is enabled by default, and both methods are available:
TOTP: Users get codes from an authenticator app. Each user turns it on in their own account settings.
Email: Users get codes by email. It's turned on automatically for new users who sign up with an email address, because Auto opt in new users for two-factor via email is on by default. Email codes only work after you configure email, which is the next step in setup, and only for users with a verified email address.
On premium plans, you can also require 2FA for specific roles. For all 2FA settings, see Two Factor Authentication Configuration.
Step 4: Connect single sign-on (optional)
If your organization uses an identity provider, set it up now, so users sign in with their existing accounts from the start. Rocket.Chat supports LDAP, SAML, OAuth, and CAS. For an overview of all options, see Authentication & SSO.
Require email verification to login also depends on email. Turn it on after you configure email, otherwise new users can't receive the verification email and can't sign in.
Next steps
Configure email for your workspace, so users can receive invitations, verification emails, and 2FA codes. For instructions, see Configure Email.