> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/pentesuto/configure-a-pentest/setting-up-authenticated-testing/handling-sms-verification.md).

# SMS 認証の処理

Aikido は、認証済みペンテスト向けに、認証セット専用の電話番号を用意することで、SMS ベースの検証をサポートします。

**アプリケーションに次が必要な場合は、この機能を使用してください:**

* **SMS 2FA / MFA:** ユーザー名/パスワード入力後に、テキストメッセージのコードが必要です。

{% hint style="info" %}
アプリが認証アプリを使用している場合は、 [TOTP の設定](/docs/docs-ja/pentesuto/configure-a-pentest/setting-up-authenticated-testing/handling-two-factor-authentication-totp.md).

アプリがメールでコードを送信する場合は、 [メール検証機能](/docs/docs-ja/pentesuto/configure-a-pentest/setting-up-authenticated-testing/handling-email-verification-and-magic-links.md).
{% endhint %}

#### 仕組み

で **テストユーザー** モーダルでは、Aikido がプロジェクト用の電話番号を作成できます。その番号をログインフローで使用し、指示に `<phone_number>` プレースホルダー。

を開くことができます **メッセージを表示** いつでも開いて受信した SMS メッセージを確認し、検出された確認コードをすぐにコピーできます。

#### セットアップガイド

{% stepper %}
{% step %}
**SMS 認証方法を選択**

テストユーザーを追加する際は、 **ユーザー名とパスワード + SMS 検証**.
{% endstep %}

{% step %}
**電話番号を作成**

で **SMS 電話番号** セクション:

1. クリック **電話番号を作成**.
2. 生成された番号をコピーします。

<div data-with-frame="true"><figure><img src="/files/ae2f535c4c0c7066dbdfd5ca1cbd57532ca1254f" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**アプリでその番号を使用する**

テストユーザーを設定して、SMS 確認コードが生成された番号に送信されるようにします。
{% endstep %}

{% step %}
**認証手順を更新**

明確な手順を段階的に記載し、次を含めてください `<phone_number>` 必要に応じて。

**手順例:**

```
1. https://app.example.com/login にアクセスする
2. ユーザー名を入力: pentest_user
3. パスワードを入力: super_secure_password
4. 「ログイン」をクリックします
5. +1234567890 に送信される SMS 確認コードを待つ
6. SMS コードを入力し、「Verify」をクリックする
```

{% endstep %}

{% step %}
**受信メッセージを監視**

クリック **メッセージを表示** SMS の受信箱を開くには:

* メッセージはリアルタイムで表示されます。
* 数値コードが検出された場合は、 **コードをコピー** を使って素早く入力/テストできます。

<div data-with-frame="true"><figure><img src="/files/92408bf0d978fecc0b5ede3abdefe17d997b7992" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**設定をテストする**

1. クリック **保存してテスト**.
2. エージェントは、SMS 検証ステップを含むログインフローを実行します。
3. 認証済み状態に到達することを確認してください。
   {% endstep %}
   {% endstepper %}

#### トラブルシューティング

* **SMS が届かない場合:** アプリが生成された正確な番号にコードを送信していること、またテストユーザープロフィールが更新されていることを確認してください。
* **プレースホルダーが置き換わっていない場合:** 正確なトークンを使用してください `<phone_number>` を手順に含めてください。
* **電話番号を作成できませんでした:** ウォレット残高を確認してください。電話番号の作成は無料ですが、悪用防止のためウォレットに十分なクレジットが必要です。


---

# 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 dynamically by asking a question.

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

```
GET https://help.aikido.dev/docs/docs-ja/pentesuto/configure-a-pentest/setting-up-authenticated-testing/handling-sms-verification.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
