> For the complete documentation index, see [llms.txt](https://docs.docbits.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.docbits.com/administration-and-setup/settings/global-settings/company-information/two-factor-authentication.md). Agents can also search and read this documentation through its [MCP server](https://docs.docbits.com/~gitbook/mcp).

# Two-Factor Authentication (Admin)

## Overview

As an organisation administrator you can **require every member to use two-factor authentication (2FA)** when they log in with a password. When the requirement is on, a member who has not yet set up a second factor is guided through enrollment before they can finish signing in.

Single sign-on (SSO) logins — Google, Microsoft, SAML — are **exempt**: their identity provider already enforces its own MFA, so the requirement only affects password logins.

This setting lives in **Settings → Organization & Access → Company Information → Two-factor authentication** and is available to organisation administrators only.

## Require MFA for your organisation

1. Go to **Settings → Organization & Access → Company Information**.
2. Open the **Two-factor authentication** section.
3. Turn on **Require two-factor authentication for all members** and click **Save**.

<figure><img src="https://578966019-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT2n2w4uDCJvv7CJ5zrdk%2Fuploads%2Fgit-blob-858932274a22143bef07f82ef3ddcf0a99a8b639%2Fprior-t001-en.png?alt=media" alt="Organization requirement for two-factor authentication."><figcaption><p>Organization requirement for two-factor authentication.</p></figcaption></figure>

Once saved, the change takes effect within a minute. From then on:

* A member **with** a second factor is challenged for it after their password, as usual.
* A member **without** a second factor is required to enrol one before they receive a session.
* SSO / social logins are unaffected.

{% hint style="warning" %}
Turning this on blocks password logins for members who have no second factor until they finish enrollment. Communicate the change to your team, and consider enabling it outside peak hours.
{% endhint %}

## MFA adoption report

Below the toggle, the **MFA adoption** panel shows how widely 2FA is used in your organisation before you enforce it:

* the overall **adoption percentage** and a progress bar,
* how many of your members have 2FA enabled (e.g. *0 of 74 members*),
* a per-factor breakdown — **Authenticator**, **Email**, and **Passkey**.

<figure><img src="https://578966019-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT2n2w4uDCJvv7CJ5zrdk%2Fuploads%2Fgit-blob-0ae8c069d60408cb8146ddf80d69bc4caaca54cd%2Fmfa-adoption-report.png?alt=media" alt="The MFA adoption report"><figcaption><p>The MFA adoption report: overall percentage, enrolled members, and a per-factor breakdown.</p></figcaption></figure>

Use it to gauge readiness: drive adoption up first, then switch the requirement on with fewer members blocked at the enrollment step.

## What members see

A member who is required to enrol is sent to the 2FA setup on their next login and picks a method (authenticator app, email code, or passkey). The end-user steps are covered in [Two-Factor Authentication (2FA)](https://docs.docbits.com/security/two-factor-authentication.md).

## Related security controls

The organisation-wide MFA requirement complements the built-in protections that always apply once a user has 2FA on: single-use login codes, a TOTP replay guard, per-challenge and per-account attempt limits (an account is temporarily locked after too many failed attempts), and automatic revocation of trusted devices when a member changes their password.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.docbits.com/administration-and-setup/settings/global-settings/company-information/two-factor-authentication.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
