# Googleによる認証

> **🔒 なぜ2段階認証(2FA)を有効にするべきか？**
>
> * ONFAアカウントのセキュリティを強化する
> * パスワードが漏洩しても不正アクセスを防止する
> * ログインのたびに認証アプリからのOTP入力を必須にする

### A. 2FAの設定方法

1. **認証アプリのインストール**

* Google Authenticator をダウンロード：
  * [App Store](https://apps.apple.com/app/google-authenticator/id388497605) (iOS)
  * [Google Play](https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2) (Android)
* アプリを開く → 「**＋」**&#x3092;選択 → 「**QRコードをスキャン**」または「**設定コードを入**力」を選択。

2. ONFAにログイン → 「Google認証（2FA）」にアクセス
3. 画面に表示された **QRコードを** Authenticatorアプリでスキャンする\
   \&#xNAN;*（スキャンできない場合は提供されたコードを手動で入力）*

<figure><img src="https://4035416171-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHVUlozWTsEZi0p2AOyyB%2Fuploads%2Fh5cKDbrWLeHjwdpP1qJ5%2F2025-06-20_15-18-31.png?alt=media&#x26;token=a6a88ebb-c4de-4bc6-a906-631cc86494c1" alt="" width="375"><figcaption></figcaption></figure>

4. **認証コードの取得**

* アプリには**6桁**のコードが表示される（30秒ごとに更新されます）。
* このコードをONFA&#x306E;**「Google認証コード**」欄に入力する。

<figure><img src="https://4035416171-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHVUlozWTsEZi0p2AOyyB%2Fuploads%2FgJwMxYWzfKAOlVSgSCnD%2F2025-06-20_15-24-52.png?alt=media&#x26;token=3caa1f29-0ff6-4330-8ec4-f66b0c4d1eb9" alt=""><figcaption></figcaption></figure>

5. 「**2段階認証を有効にする**」を押して完了する。

<figure><img src="https://4035416171-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHVUlozWTsEZi0p2AOyyB%2Fuploads%2F9fY595fa0teeUmsUOapg%2F2025-06-20_15-25-46.png?alt=media&#x26;token=5fa69b9e-c953-495a-aa4a-4d587e83c11c" alt="" width="237"><figcaption></figcaption></figure>

> **⚠️ 重要な注意事項**
>
> * 2FAコードは **30秒間のみ有効です** — エラーを避けるため速やかに入力してください
> * コードが期限切れの場合は、アプリに表示される新しいコードが現れるまでお待ちください
> * デバイス紛失に備えて、**バックアップコード**を安全な場所に保管してください。
> * 2FAコードを他人と共有しないでください


---

# 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://wiki.onfa.io/jp/woretto/akaunto/googleniyoru.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.
