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

# Two-factor authentication

> Protect your Infinity account with passkeys or two-factor authentication when logging in.

An additional security factor protects your Infinity account and the business data in it. Two options are available:

* **Passkeys** (Face ID, Touch ID, or a security key)
* **Two-factor authentication** with an authenticator app (TOTP) and recovery codes

For the bank connection with Live Accounting you need at least one of these additional security factors.

## Passkeys

A passkey allows sign-in without a password, for example with Face ID, Touch ID, or a security key. You can register multiple passkeys, for example on your laptop and smartphone.

### Add a passkey

1. Open Infinity settings.
2. Under «User account», click **«Security»**.
3. In the «Passkeys» section, click **«Add»**.
4. Confirm the request from your browser or device (Face ID, Touch ID, Windows Hello, or security key).

The new passkey appears in the list with the date you added it.

If your browser does not support passkeys, «Add» is not available. In that case use [two-factor authentication with authenticator app](#activate-two-factor-authentication) below.

### Rename or remove a passkey

In the passkey list you can **rename** or **remove** each entry. When removing, you are asked to confirm.

> [!WARNING]
>
> As long as one of your organizations has an active bank connection and two-factor authentication is not active, you cannot remove the last passkey.

### Sign in with a passkey

On the Infinity sign-in page click **«Passkey»**. Follow your device's instructions. Passkey sign-in replaces email, password, and the authenticator app confirmation code.

You can still sign in with email and password. If two-factor authentication is active, you then also need the code from the authenticator app.

## Activate two-factor authentication

To activate two-factor authentication, follow these steps:

1. Open Infinity settings.
2. Click the «Security» page in the «User account» section.
3. In the «Two-factor authentication» section, click «Set up» to start the process.

![Activate two-factor authentication](https://mintcdn.com/nextbusiness/XkKvFvjYgaTq_a5P/en/docs/user-account/2fa/2fa-setup-1.png?fit=max\&auto=format\&n=XkKvFvjYgaTq_a5P\&q=85\&s=d40f23a672e19350de002b5f1a5e3a07)

### Scan QR code in authenticator app

The setup steps are now shown. First you need an authenticator app with which you can confirm each login using a code. All common two-factor apps are supported, including for example:

* Microsoft Authenticator
* Google Authenticator
* Authy
* Password managers such as 1Password, etc.

If you do not yet have a two-factor app, we recommend [Microsoft Authenticator](https://www.microsoft.com/de-ch/security/mobile-authenticator-app). Download this app on your smartphone from the App Store (iOS) or Google Play (Android).

You can then add a login in the app via the plus icon – when asked for the account type, choose «Other», and scan the QR code shown on the setup screen.

![Scan QR code in authenticator app](https://mintcdn.com/nextbusiness/XkKvFvjYgaTq_a5P/en/docs/user-account/2fa/2fa-setup-2.png?fit=max\&auto=format\&n=XkKvFvjYgaTq_a5P\&q=85\&s=a7f5b2c35bf87b9c9b6bb96553f3fdcf)

### Save recovery codes

With recovery codes you can sign in again to set up two-factor authentication anew if you ever lose access to your smartphone or authenticator app. **Store these codes in a safe place.**

> [!WARNING]
>
> **For security reasons these codes are shown only once during setup.** Make sure you save them in a safe place during setup where you can find them again if needed – otherwise you may lose access to your account.

![Save recovery codes](https://mintcdn.com/nextbusiness/XkKvFvjYgaTq_a5P/en/docs/user-account/2fa/2fa-setup-3.png?fit=max\&auto=format\&n=XkKvFvjYgaTq_a5P\&q=85\&s=4aaa36510c5424d56612d29091194646)

### Confirm and activate

Your authenticator app should now show a 6-digit confirmation code for «infinity.swiss». Enter it to complete activation.

If you do not yet see a confirmation code in your two-factor app named «infinity.swiss», check whether you scanned the QR code correctly with this app and try the step «Scan QR code in authenticator app» again.

After activation, a two-factor confirmation code from your authenticator app is required for all future logins.

## Deactivate two-factor authentication

To deactivate two-factor authentication again, open Infinity security settings again and click «Deactivate». Your account password may be required to confirm.

![Deactivate two-factor authentication](https://mintcdn.com/nextbusiness/XkKvFvjYgaTq_a5P/en/docs/user-account/2fa/2fa-deactivate.png?fit=max\&auto=format\&n=XkKvFvjYgaTq_a5P\&q=85\&s=71f720a9b110f44059dcd18848cd86c0)

> [!WARNING]
>
> If you have Live Accounting enabled and have not registered a passkey, you cannot deactivate two-factor authentication. Register a passkey first, or keep the authenticator app active so the bank connection remains in place.

## Two-factor code is not accepted

If the two-factor code is often not accepted, the time on your device may be incorrect.

### Check the time on your device

If the time on your device is wrong, the two-factor code shown may always already be expired.

You can check this most easily by visiting [www.time.is](https://www.time.is) on the device where you have the two-factor app (in most cases your smartphone). It should show «Your clock is exactly on time!» If not, the time on your device is not set correctly.

To fix this:

* On Apple devices enable «Set time and date automatically». You can find [an official guide from Apple here](https://support.apple.com/de-ch/101619).
* On Android devices enable «Set time zone automatically». You can find [an official guide from Google here](https://support.google.com/android/answer/2841106?hl=de).
* On Windows devices you must enable «Set time automatically». You can find [the corresponding Microsoft guide here](https://support.microsoft.com/de-de/windows/festlegen-von-zeit-datums-und-zeitzoneneinstellungen-in-windows-dfaa7122-479f-5b98-2a7b-fa0b6e01b261).

Turning automatic time off and on again resynchronizes the time on most devices.

### Set up two-factor authentication again

If your two-factor code is still often not accepted despite correct time on all your devices, we recommend signing in with a **recovery code** and then deactivating and reactivating two-factor authentication under Settings > Security.

> [!WARNING]
>
> If you have Live Accounting enabled and have not registered a passkey, you must reactivate two-factor authentication immediately after deactivating it to avoid interruptions in the bank connection.

## I have lost access to my two-factor app

If you have lost access to your two-factor app and can no longer sign in, you can still sign in with a recovery code. Click «Sign in with recovery code» and enter one of your recovery codes.

If you have also lost your recovery code, contact our support so we can help you recover your account.

![Sign in with recovery code](https://mintcdn.com/nextbusiness/XkKvFvjYgaTq_a5P/en/docs/user-account/2fa/login-using-recovery-code.png?fit=max\&auto=format\&n=XkKvFvjYgaTq_a5P\&q=85\&s=d443eda8d372c1dbf3b8d65facc73881)

> [!WARNING]
>
> **Each recovery code can only be used once.** We strongly recommend setting up two-factor authentication again immediately after you sign in if you have lost access to it.

To reset and set up two-factor authentication again, you can deactivate it in Infinity security settings and then set it up again.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.