Skip to content

Two-Factor Authentication (2FA)

Two-factor authentication is available on paid plans only. If you are on a free account you will need to upgrade before you can enable this feature.

Two-factor authentication (2FA) adds an extra layer of security to your RepoForge.io account. Once enabled, signing in requires both your password and a time-based code generated by an authenticator app on your phone. Even if your password is compromised, an attacker cannot access your account without also having your device.

Requirements


Setting up two-factor authentication

1. Go to Account Settings

Navigate to Account → Account Settings in the left-hand sidebar.

Account settings page showing the Two-factor authentication section with a "Set up" button

If you are on a free plan you will see an info message explaining that 2FA requires a paid subscription:

Account settings showing upgrade prompt for free accounts

Once you have an active subscription the Set up two-factor authentication button will appear.

2. Scan the QR code

Click Set up two-factor authentication. A QR code is displayed — open your authenticator app, add a new account, and scan the code.

QR code setup screen

Can't scan the QR code? Click Can't scan? Enter this code manually to reveal the plain-text secret that you can type directly into your authenticator app.

Manual entry code revealed below the QR code

3. Enter the verification code

Your authenticator app will display a 6-digit code that changes every 30 seconds. Type it into the Verification code field and click Verify and enable.

Verification code field with a 6-digit code entered

4. Save your recovery codes

After successful verification, RepoForge.io generates 8 one-time recovery codes.

Recovery codes displayed after enabling 2FA

Save these codes now

Recovery codes are shown only once and cannot be retrieved later. Copy them using the Copy codes button and store them somewhere safe — a password manager, printed sheet kept offline, or encrypted storage. Each code can only be used once.

Click I've saved my codes to dismiss the panel. Two-factor authentication is now active on your account.

Account settings with 2FA status showing Enabled


Signing in with two-factor authentication

When 2FA is enabled, the login flow has an additional step.

  1. Enter your email address and password as normal.
  2. RepoForge.io detects that 2FA is active and prompts for your authenticator code.

Login page showing the MFA code prompt

  1. Open your authenticator app, copy the current 6-digit code, and click Verify.

Using a recovery code to sign in

If you have lost access to your authenticator device, you can sign in using one of your saved recovery codes.

  1. On the MFA prompt screen, click Use a recovery code (bottom-right).

Login page showing the recovery code input

  1. Enter a recovery code in the format XXXX-XXXX-XXXX and click Verify.
  2. You will be signed in. The code you used is immediately invalidated — each code can only be used once.
  3. Once signed in, go to Account Settings and set up a new authenticator app, then generate fresh recovery codes to replace the ones you have used.

Running low on recovery codes?

Disable 2FA using a code from your authenticator app or a remaining recovery code, then re-enable it to generate a fresh set of 8 codes.


Disabling two-factor authentication

  1. Go to Account → Account Settings.
  2. In the Two-factor authentication section, click Disable two-factor authentication.
  3. Enter the current 6-digit code from your authenticator app to confirm.
  4. 2FA is immediately disabled and all recovery codes are invalidated.

Built with care by the RepoForge.io team.