Records

Add a TOTP code

Lots of accounts offer a second step at sign-in. After your password, you enter a six-digit code that changes every 30 seconds. It's one of the simplest ways to make an account much harder to break into, and Lockit can keep that code in the same record as the password it protects.

3 min read · Updated May 20, 2026

A QR code beside a box with a hidden code.

Normally these rotating codes live in a separate authenticator app, so signing in means hopping between two apps to find the right one. Lockit folds the code into the record it belongs to, so everything for an account stays in one place. On supported sites, AutoFill can fill the password and the code together. Once it's set up, the current code sits right next to the password whenever you open the record, refreshing on its own every 30 seconds, with nothing to maintain. Here's how to add one:

Steps

  1. Open the record and start the setup

    Open the record in your vault and tap Edit. Tap Add Field, then tap One-Time Passcode.

    The Add Field sheet's field types, with One-Time Passcode marked.
  2. Scan the QR code from the site

    The site offering 2FA will show a QR code on screen. Point your camera at it. Lockit reads it and adds the code to the record.

  3. Confirm with the first code

    Lockit immediately starts generating the six-digit code. Type it into the site to prove the setup worked, then tap the checkmark to save the record.

    A GitHub record being edited, with its new verification code showing and the checkmark at the top right marked.