> For the complete documentation index, see [llms.txt](https://docs.theseaai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.theseaai.com/main/ch/qi-ta/mfa.md).

# 多重身份验证（MFA）

MFA 是额外的安全步骤，即使你的密码泄露，也能帮助保护你的 Beachside 账户。

在 Beachside，你所在组织的管理员已启用 MFA。如有需要，你会在下次登录时进行设置。如果强制要求 MFA，你必须先进行设置 **然后才能访问 Beachside**。设置完成后，你将需要一个代码用于 **今后的登录**.

***

## 如何设置 MFA

<div data-with-frame="true"><figure><img src="https://2190407032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOUQ3EAPIPziQuBKQgmTy%2Fuploads%2FZJ30Gcx7KAea6pQLA6Eo%2Fimage.png?alt=media&amp;token=b204c293-604f-4966-9b69-1d0d9df434c4" alt=""><figcaption></figcaption></figure></div>

你将使用手机上的身份验证器应用（例如 Google Authenticator、Microsoft Authenticator 或 1Password）。

{% stepper %}
{% step %}

#### 登录 Beachside

输入你的 ***电子邮件*** 和 ***密码*** 以访问 Beachside。
{% endstep %}

{% step %}

#### 打开你的身份验证器应用

在手机上打开一个身份验证器应用（例如：Google Authenticator、Microsoft Authenticator 或 1Password）。
{% endstep %}

{% step %}

#### 在应用中添加一个新账户

在身份验证器应用中，点击 <kbd><mark style="color:$primary;">**添加账户**<mark style="color:$primary;"></kbd> （或 + 按钮）。
{% endstep %}

{% step %}

#### 扫描二维码

在你的身份验证器应用中，选择 <kbd><mark style="color:$primary;">**扫描二维码**<mark style="color:$primary;"></kbd>，然后扫描 Beachside 中显示的代码。
{% endstep %}

{% step %}

#### 输入 6 位验证码

你的身份验证器应用会显示一个 **6 位验证码**。将该验证码输入到 Beachside 中即可完成设置。
{% endstep %}

{% step %}

#### 复制或下载你的恢复代码（推荐）

恢复代码是一种一次性备用代码，当你无法访问身份验证器应用时可用于登录。点击 <kbd><mark style="color:$primary;">**复制**<mark style="color:$primary;"></kbd> 或 <kbd><mark style="color:$primary;">**下载**<mark style="color:$primary;"></kbd> 将它们保存到安全的地方。
{% endstep %}

{% step %}

#### 确认你已保存恢复代码

勾选 <kbd><mark style="color:$primary;">**我已安全保存这些代码**<mark style="color:$primary;"></kbd> 以继续。
{% endstep %}

{% step %}

#### 继续前往 Beachside

点击 <kbd><mark style="color:$primary;">**继续前往 Beachside**<mark style="color:$primary;"></kbd>.
{% endstep %}
{% endstepper %}

***

## 如何使用 MFA 登录

<div data-with-frame="true"><figure><img src="https://2190407032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOUQ3EAPIPziQuBKQgmTy%2Fuploads%2Fgt79fGXKGABClEdhhqcw%2Fimage.png?alt=media&amp;token=816634af-3ff6-4dbd-bde7-b339afb5a032" alt=""><figcaption></figcaption></figure></div>

{% stepper %}
{% step %}

#### 登录 Beachside

输入你的 ***电子邮件*** 和 ***密码*** 以访问 Beachside。
{% endstep %}

{% step %}

#### 输入身份验证器应用中的代码

打开你的身份验证器应用，并输入你看到的 6 位验证码。
{% endstep %}
{% endstepper %}

### 需要帮助？请让你的组织管理员重置 MFA

如果你不再能访问身份验证器应用，而且也不能使用恢复代码，请联系你的组织管理员。管理员可以为你的账户重置 MFA，这样你就可以在下次登录时重新设置。<br>

***

## 常见问题

<details>

<summary><strong>为什么要求我设置这个？</strong></summary>

你的组织已开启 MFA。启用后，组织中的每个人都需要进行设置。

</details>

<details>

<summary><strong>我无法扫描二维码。我该怎么办？</strong></summary>

如果你无法扫描二维码（例如，摄像头无法工作，或者你是在同一部手机上进行设置）：

* 选择 <kbd><mark style="color:$primary;">**无法扫描？**<mark style="color:$primary;"></kbd> 选项。
* 复制 **设置密钥** 上显示的内容。
* 在你的身份验证器应用中，选择 **输入设置密钥** （或 **手动输入**)
* 然后输入 **代码** 中的验证码，完成设置。

</details>

<details>

<summary><strong>如果我换了手机或丢失了身份验证器应用怎么办？</strong></summary>

使用恢复代码登录。如果你没有恢复代码，请联系你的组织管理员寻求帮助。

</details>

<details>

<summary><strong>我的代码不起作用。我该怎么办？</strong></summary>

* 尝试使用最新的代码（它每隔几秒就会变化）。
* 确保你的手机时间设置为自动。

</details>

<details>

<summary><strong>我使用了恢复代码，但它不能再次使用。</strong></summary>

这是正常的。恢复代码只能使用一次。请使用另一个恢复代码。

</details>

<details>

<summary><strong>我在多次输入错误代码后被阻止了。发生了什么？</strong></summary>

出于安全原因，Beachside 会在 3 次 MFA 验证失败后锁定你的登录会话。

* 重新开始登录流程，并使用身份验证器应用中的最新代码再次尝试。
* 如果你无法访问身份验证器应用，请选择“使用恢复代码”。
* 如果你没有恢复代码，请联系你的组织管理员重置 MFA。

</details>

<details>

<summary><strong>有人可以帮我重置 MFA 吗？</strong></summary>

目前不行。如果你需要帮助，请联系你的组织管理员。

</details>

<details>

<summary><strong>我可以关闭 MFA 吗？</strong></summary>

如果你的组织要求启用 MFA，你不能自行关闭它。如果你需要帮助，请联系你的组织管理员。

</details>


---

# 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.theseaai.com/main/ch/qi-ta/mfa.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.
