> ## Documentation Index
> Fetch the complete documentation index at: https://docs.typingmind.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Require two-factor authentication

> Require two-factor authentication (2FA) for your workspace's admins or for everyone, see who has it, remind those who don't, and reset a member's 2FA.

Every member of your workspace can turn on two-factor authentication (2FA) for their own account, as [Set up two-factor authentication](https://docs.typingmind.com/typingmind-team/user-management/two-factor-authentication.md) explains. As an admin, you can also require it, for your admins or for everyone, and see who has it.

This guide is for workspace admins.

## Which logins 2FA applies to

2FA is about how a member logs in, not about who they are:

| Login method | Asks for 2FA |
| - | - |
| Email code | Yes |
| Google sign-in (admins only) | Yes |
| Single sign-on (SSO), OAuth, JWT, Basic auth | No. Your identity provider (or the app that signs members in) handles the second step. TypingMind doesn't check that it does. |
| API keys and SCIM tokens | No. They aren't a person's login, and 2FA doesn't affect them. |

A member who can log in both with SSO and with an email code is asked for 2FA only when they use the email code.

TypingMind support staff who log in to your workspace to help you don't use your members' 2FA: they must enter a code from their own authenticator app.

## Require 2FA

**1. Open the setting, and turn on 2FA for yourself**

Go to **Admin Panel** → **User Management** → **Authentication**, and find **Two-factor authentication**. It shows how many members who log in with email or Google already have 2FA.

You can't require 2FA before you have it yourself, so you can't lock yourself out. Until then, the section says **To require 2FA, first turn it on for your own account**. Click that link to set it up (it takes about 2 minutes).

![The Two-factor authentication section of the Authentication page, with the notice To require 2FA, first turn it on for your own account](https://mintcdn.com/typingmind/-HYdhxSv-v_eTW3W/images/workspace-2fa-admin-own-2fa-first.webp?fit=max\&auto=format\&n=-HYdhxSv-v_eTW3W\&q=85\&s=2e906a6775b27e3fb8d16f9e5effee12)

**2. Choose who needs it**

Under **Require 2FA for**, choose:

* **Nobody**: members choose for themselves. This is the default.
* **Admins only**: every member with an admin role, whether a built-in role, a custom role, or a role they get through a user group.
* **Everyone**: every member who logs in with an email code or Google.

**3. Choose when it starts**

Under **Starting**, choose:

* **Now**: members without 2FA must set it up the next time they open TypingMind.
* **In 7 days, on** *date*: members without 2FA see a reminder until that date, then must set it up.

When you change a requirement whose date hasn't come yet, a third option, **On** *date*, keeps that date.

Click **Save**.

![Require 2FA for Everyone, Starting In 7 days, with Cancel and Save](https://mintcdn.com/typingmind/-HYdhxSv-v_eTW3W/images/workspace-2fa-admin-require-options.webp?fit=max\&auto=format\&n=-HYdhxSv-v_eTW3W\&q=85\&s=6dfd616073b4c1dd59b2c38110c09d7e)

**4. Confirm**

The confirmation says how many of these members don't have 2FA yet, and what happens to them. Nobody is logged out. Click **Require 2FA**.

![Require 2FA for everyone from Dec 4? 4 of 6 members don't have 2FA yet. Nobody is logged out.](https://mintcdn.com/typingmind/-HYdhxSv-v_eTW3W/images/workspace-2fa-admin-require-confirm.webp?fit=max\&auto=format\&n=-HYdhxSv-v_eTW3W\&q=85\&s=9ce8bf501e9e94f5ad1a92a3194c9342)

Once saved, **Starting** shows the date the requirement applies from (**On** *date*, or **Required since** *date*). To stop requiring 2FA, choose **Nobody** and click **Save**. Members keep 2FA if they set it up, and can turn it off.

![The saved setting: Require 2FA for Everyone, Starting On Dec 4](https://mintcdn.com/typingmind/-HYdhxSv-v_eTW3W/images/workspace-2fa-admin-require-saved.webp?fit=max\&auto=format\&n=-HYdhxSv-v_eTW3W\&q=85\&s=08f2a983456fcb732b6c2fde1eceeda7)

Changing this setting is recorded in the workspace's audit log.

## What members see

**Before the start date**, members without 2FA see a banner at the top of the app. **Set up 2FA** opens their security settings. They can dismiss it.

![The banner: Acme will require two-factor authentication from Dec 4, with a Set up 2FA button](https://mintcdn.com/typingmind/-HYdhxSv-v_eTW3W/images/workspace-2fa-member-banner.webp?fit=max\&auto=format\&n=-HYdhxSv-v_eTW3W\&q=85\&s=9fd1262206488ee97e3a88069d7e4e5f)

**From the start date**, a member without 2FA sees a screen that asks them to set it up the next time they open or reload TypingMind, or log in. They can't use the workspace until they do. They can also **Log out**, which first warns that it clears all local data on the device, including chats that haven't synced. Setup is the same as in [Set up two-factor authentication](https://docs.typingmind.com/typingmind-team/user-management/two-factor-authentication.md#set-up-the-authenticator-app).

![Acme requires two-factor authentication: Set it up to keep using Acme. Set up 2FA, Log out](https://mintcdn.com/typingmind/-HYdhxSv-v_eTW3W/images/workspace-2fa-member-required.webp?fit=max\&auto=format\&n=-HYdhxSv-v_eTW3W\&q=85\&s=afb0101a224691f29382f81cd6c6e80a)

The same applies to new members at their first login, to members your directory adds by SCIM, and, with **Admins only**, to a member who gets an admin role. From the start date, a member whose 2FA is required can't turn it off.

## See who has 2FA

Go to **Admin Panel** → **User Management** → **Users**.

* The **2FA** column shows **On**, **Off** or **Via SSO**. **Via SSO** means the member can only log in through your identity provider (SSO or OAuth), which handles 2FA. Pending invitations show **Off**.
* Above the list, the count (for example **2 of 6 have 2FA**) covers active members who can log in with email or Google. Members who can only log in with SSO aren't counted.
* In **Filters**, the **2FA** filter shows only the members who have it **On**, **Off**, or **Via SSO**.
* **Export members** (in the **⋮** menu at the top right) includes a **2FA** column in the CSV file.

![The Users page: 2 of 6 have 2FA, Remind those without 2FA, and the 2FA column with On and Off](https://mintcdn.com/typingmind/-HYdhxSv-v_eTW3W/images/workspace-2fa-admin-members.webp?fit=max\&auto=format\&n=-HYdhxSv-v_eTW3W\&q=85\&s=352127fb303c6df15396ce956ec0e57e)

![Filters with Status, Role and 2FA: Off](https://mintcdn.com/typingmind/-HYdhxSv-v_eTW3W/images/workspace-2fa-admin-members-filter.webp?fit=max\&auto=format\&n=-HYdhxSv-v_eTW3W\&q=85\&s=cb767f9a7ca93663f130ef9ccf339ea6)

![Export Members: All columns (13), including 2FA, and Export 6 member(s)](https://mintcdn.com/typingmind/-HYdhxSv-v_eTW3W/images/workspace-2fa-admin-export.webp?fit=max\&auto=format\&n=-HYdhxSv-v_eTW3W\&q=85\&s=3cceb5853e4e7a78383c7b2e62d234ba)

### Remind members without 2FA

Click **Remind those without 2FA**, then **Send reminder**. TypingMind emails each member who has logged in without 2FA and asks them to set it up. If you require 2FA, the email says from when.

* You can send one reminder a day. The Users page shows when you can send the next one.
* Members who haven't logged in yet don't get one.

![Send a 2FA reminder to 3 members? with Cancel and Send reminder](https://mintcdn.com/typingmind/-HYdhxSv-v_eTW3W/images/workspace-2fa-admin-remind.webp?fit=max\&auto=format\&n=-HYdhxSv-v_eTW3W\&q=85\&s=3eb18335dbaa887d61be2cd66b695331)

## Reset a member's 2FA

When a member loses their phone and their recovery codes, an admin can reset their 2FA:

1. On the **Users** page, open the **⋮** menu on the member's row (or open the member), and click **Reset 2FA**.
2. Before you confirm, make sure it's really them, for example on a call.
3. Click **Reset 2FA**.

![The member's menu with Reset 2FA, Suspend and Remove](https://mintcdn.com/typingmind/-HYdhxSv-v_eTW3W/images/workspace-2fa-admin-member-menu.webp?fit=max\&auto=format\&n=-HYdhxSv-v_eTW3W\&q=85\&s=025905e63282906623408fd1d2d635f4)

![Reset 2FA for jane@example.com? Their authenticator app, passkeys and recovery codes stop working, and they're logged out on every device. Their chats and data stay.](https://mintcdn.com/typingmind/-HYdhxSv-v_eTW3W/images/workspace-2fa-admin-reset.webp?fit=max\&auto=format\&n=-HYdhxSv-v_eTW3W\&q=85\&s=b2e93898b1c21a792f6863077b9baa9f)

What happens:

* The member's authenticator app, passkeys and recovery codes stop working, and they're logged out on every device. Their chats and data stay.
* They log in again with their email code and can set up 2FA again. If 2FA is required for them, they must.
* TypingMind emails the member and the admins who can view or manage members. The reset is recorded in the audit log.

Who can reset whom:

* Admins who can manage members can reset the 2FA of members without an admin role.
* Only the workspace owner can reset the 2FA of a member with any admin role, including a role they get through a user group.
* Nobody can reset their own 2FA here. Members manage their own 2FA under **Account** → **Security**.
* If the owner loses access, TypingMind support can reset it, with a 72-hour wait during which any admin can cancel. See [Two-factor authentication FAQ](https://docs.typingmind.com/typingmind-team/user-management/two-factor-authentication-faq.md#the-owner-lost-their-phone-and-recovery-codes).

## Related

* [Set up two-factor authentication](https://docs.typingmind.com/typingmind-team/user-management/two-factor-authentication.md), for members
* [Two-factor authentication FAQ](https://docs.typingmind.com/typingmind-team/user-management/two-factor-authentication-faq.md)
* [Single Sign-On (SSO)](https://docs.typingmind.com/typingmind-team/user-management/single-sign-on-\(sso\))
* [Roles & Permissions](https://docs.typingmind.com/typingmind-team/user-management/roles-and-permissions.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.