> 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/wallet/account/google-authentication.md).

# Google Authentication

> **🔒 Why enable 2FA?**
>
> * Enhance the security of your ONFA account
> * Prevent unauthorized access even if the password is compromised
> * Require entry of an OTP from the application each time you log in

## How to Configure 2FA?

1. **Install an authenticator application**

* Download **Google Authenticator** from:
  * [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)
* Open the application → Select **"+"** → Select **"Scan QR code"** or **"Enter setup key"**

2. Log in to ONFA → Go to **"Google Authentication (2FA)"**
3. Scan **the QR code** displayed on the ONFA screen using the Authenticator application\
   \&#xNAN;*(Or manually enter the provided key if scanning is not possible)*

<figure><img src="https://3543960588-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. **Obtain the authentication code**

* The application will display **a 6-digit code** (changes every 30 seconds)
* Enter this code into the field **"Google authentication code"** on ONFA

<figure><img src="https://3543960588-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. Press **"Enable Two-Factor Authentication"** to complete

<figure><img src="https://3543960588-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>

> **⚠️ IMPORTANT NOTICE**
>
> * The 2FA code **is valid for 30 seconds only** - enter it promptly to avoid errors
> * If the code expires, wait for a new code to appear in the application
> * **Store the backup code** (backup code) in a secure location in case of device loss
> * Do not share your 2FA code with anyone


---

# 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://wiki.onfa.io/wallet/account/google-authentication.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.
