> ## Documentation Index
> Fetch the complete documentation index at: https://knowledge.goautonomous.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Two-factor authentication

> Add a second layer of security to your Go Autonomous account using an authenticator app.

Two-factor authentication (2FA) protects your Go Autonomous account by requiring a 6-digit code from an authenticator app in addition to your password each time you sign in.

When your organisation enables 2FA, every user is prompted to set up an authenticator app the next time they sign in. After enrollment, you'll be asked for a code from your app on every subsequent sign-in.

> [!NOTE]
>
> Two-factor authentication only applies to users who sign in with email and password. If your organisation signs in through SSO, sign-in security is handled by your identity provider.

## What you need

* An authenticator app installed on your phone or computer. Any TOTP-compatible app works, including:
  * Google Authenticator
  * Microsoft Authenticator
  * 1Password
  * Authy
* A safe place to store your recovery codes (e.g. a password manager).

## Set up two-factor authentication

The first time you sign in after your organisation enables 2FA, you'll be taken through a three-step enrollment flow. You cannot use Go Autonomous until enrollment is complete.

**1. Scan the QR code**

Open your authenticator app and scan the QR code shown on screen. If you can't scan the code, copy the **authenticator key** displayed below the QR code and paste it into your app manually.

Click **Continue** once your authenticator app shows a 6-digit code for Go Autonomous.

**2. Verify the code**

Enter the current code from your authenticator app and click **Verify**. This proves that your app is set up correctly.

If the code is rejected, double-check that you scanned the right QR code and that your device's clock is accurate — TOTP codes are time-based and will fail if your phone is more than a minute or two out of sync.

**3. Save your recovery codes**

Go Autonomous generates a set of one-time **recovery codes**. Save them somewhere safe — a password manager is ideal. You'll need a recovery code if you ever lose access to your authenticator app.

Tick **I have saved these recovery codes in a safe place**, then click **Continue** to finish enrollment and enter the platform.

> [!WARNING]
>
> Recovery codes are only shown once. If you lose them and lose access to your authenticator app, an administrator will need to reset your 2FA.

## Sign in with two-factor authentication

Once you're enrolled, every sign-in includes one extra step:

1. Enter your email and password as usual.
2. On the **Two-factor authentication** screen, enter the 6-digit code from your authenticator app.
3. Click **Continue**.

If you don't have access to your authenticator app, enter one of your **recovery codes** in the same field instead. Each recovery code can only be used once.

## Sign-in error messages

If something goes wrong during sign-in, Go Autonomous shows the reason inline on the same screen you're on — no page reload, no separate error page. You'll see this on the standard login screen, the SSO login screen, and the two-factor code screen. Common examples:

* **Wrong code or recovery code** on the two-factor screen — re-enter the current code from your authenticator app, or try another recovery code.
* **Expired or reused code** — TOTP codes only work for about 30 seconds. Wait for your authenticator app to generate the next code and try again.
* **SSO error after returning from the identity provider** — the message from the IdP (or a Go Autonomous-friendly rewrite of it, such as "your organization doesn't have a default user group set up yet") appears at the top of the login screen so you know exactly what to fix or who to ask.

The banner stays visible until you correct the input and submit successfully.

## Lost your authenticator app

If you've lost access to your authenticator app:

1. Try a **recovery code** at the two-factor sign-in step. Each code works once.
2. If you have no recovery codes left, contact your administrator for help regaining access.
