# Two-step verification

> Turn on authenticator app codes, keep recovery codes and recover a lost second step.

Source: https://daster.io/docs/account/two-step-verification/ · Last updated: 2026-11-01

With two-step sign-in on, signing in with a password also asks for a 6-digit code from an authenticator app.

## Turn it on

1. Open **Account & security › Security** and start the two-step setup. Enter your current password.
2. Add the key to your authenticator app. The page shows the key and an `otpauth://` link.
3. Enter the first 6-digit code from the app.
4. Save your **10 recovery codes** (like `4f7k-2m9q`). They are shown once.

> **Note:** The setup does not show a QR code yet.

## Sign in with a code

After your password, enter the app code or one recovery code. Each recovery code works once, and an app code can't be reused. A pending sign-in lasts 5 minutes and allows 5 wrong codes.

A passkey sign-in counts as two factors and does not ask for the code.

## New recovery codes

On **Security**, ask for new recovery codes with an app or recovery code. The old set stops working.

## Turn it off

Enter your current password and a code. The recovery codes are deleted.

## Lost your authenticator and codes?

1. On the code step, choose **Try another way**.
2. Enter your email and password. A 7-day recovery starts, and DASTER emails you with a cancel link.
3. One day before the end you get a reminder.
4. After 7 days, two-step sign-in is turned off, the recovery codes are deleted and every session ends.

If you did not start it, cancel it from the emailed link or from the card at the top of **Security**.

## With the API

- `POST /v1/account/two-step/start` with `{ "currentPassword" }` returns `{ "secret", "otpauthUri" }`.
- `POST /v1/account/two-step/confirm` with `{ "code" }` returns `{ "recoveryCodes" }`.
- `POST /v1/account/signin/two-step` with `{ "challenge", "code" }` finishes a sign-in.
- `POST /v1/account/two-step/recovery/start` with `{ "email", "password" }` starts a recovery.
