> For the complete documentation index, see [llms.txt](https://wiki.onfa.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.onfa.io/jp/woretto/akaunto/googleniyoru.md).

# 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アプリでスキャンする\
   *（スキャンできない場合は提供されたコードを手動で入力）*

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