--- title: "Secure Sign-up and Sign-in" slug: "secure-sign-up-and-sign-in" status: "new" updated: 2026-11-17T18:19:43Z published: 2026-11-17T18:19:43Z canonical: "docs.rocket.chat/secure-sign-up-and-sign-in" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.rocket.chat/llms.txt > Use this file to discover all available pages before exploring further. # Secure Sign-up and Sign-in 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. > [!WARNING] > 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](https://docs.rocket.chat/v1/docs/accounts). ## 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](https://docs.rocket.chat/v1/docs/accounts). ## 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](https://docs.rocket.chat/v1/docs/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](https://docs.rocket.chat/v1/docs/ldap), [SAML](https://docs.rocket.chat/v1/docs/saml), [OAuth](https://docs.rocket.chat/v1/docs/oauth), and [CAS](https://docs.rocket.chat/v1/docs/cas). For an overview of all options, see [Authentication & SSO](https://docs.rocket.chat/v1/docs/authentication). > [!NOTE] > **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](https://docs.rocket.chat/v1/docs/configure-email).