# Token一键登录

## &#x20;本店所有类型账号都支持token登录

1. 进入chorm应用商店搜索 discord token login插件，如图安装！

{% embed url="<https://chromewebstore.google.com/detail/discord-token-login/jfoencjkgihkcpkjndpondkbpflgaoan?utm_source=ext_app_menu>" %}

1. &#x20;token登录必须要在discord登录页面才可以进行，如图所示。

<figure><img src="/files/rsyXS1vXik5zsHo17qHE" alt=""><figcaption></figcaption></figure>

3. &#x20;token通常是最后一行MTAx开头的一串数据，如图所示

<figure><img src="/files/Htsb84pv5ZmVjlEIcjG5" alt=""><figcaption></figcaption></figure>

4. &#x20;输入token，点击login.

<mark style="color:red;">如果您不信任插件那么也可以通过代码登录</mark>

您可以使用令牌 (auth\_token) 登录 Discord 账户，而不仅仅是通过标准的用户名和密码。这种方法可以显著简化和加快管理多个账户的过程。

#### 📋 使用令牌登录的步骤

1. **获取令牌：**

   * 在我们的商店购买 Discord 账户后，您将以 `login:password:auth_token` 格式收到登录信息。
   * 复制 `auth_token`。它看起来像一串字符：

   <figure><img src="/files/H2eRUF8feIGNZ2pjRUiA" alt=""><figcaption></figcaption></figure>

&#x20;          💡 注意： 账户格式可能略有不同，例如包含或不包含电子邮件信息。

2. **进入登录页面：**

* 打开浏览器，进入 Discord 登录页面：[\*\*](https://discord.com/login)<https://discord.com/login**>

> ❗ 重要： 您只能在浏览器中使用令牌登录。此方法在桌面应用程序中不起作用。

<figure><img src="/files/3Hl4MiypvrHgPZKNwEgD" alt=""><figcaption></figcaption></figure>

3. **打开开发者控制台：**
4. 按 **F12** 打开开发者面板，并进入 **Console** 标签。

<figure><img src="/files/5IqUk1gmrjbScFHY3SzI" alt=""><figcaption></figcaption></figure>

5. **输入并配置代码：**

* 将以下代码复制到控制台，并将 `'TOKEN'` 替换为您的实际令牌。**请务必保留引号！**

```
function login(token) {
    setInterval(() => {
        document.body.appendChild(document.createElement `iframe`).contentWindow.localStorage.token = `"${token}"`
    }, 50);
    setTimeout(() => {
        location.reload();
    }, 2500);
}
    login('TOKEN');
```

正确的代码示例：

<figure><img src="/files/PeQyFOTo6XbxuhzStW2T" alt=""><figcaption></figcaption></figure>

5. **加载账户：**
   1. 按 **ENTER**，经过短暂加载后，您的账户将打开。

<figure><img src="/files/7WyD4JHgbdnsl1tAMdzy" alt=""><figcaption></figcaption></figure>

太好了！ 现在您知道如何在不使用用户名和密码的情况下登录账户。


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lumao8.com/discord/token-yi-jian-deng-lu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
