Got a tip for us?

How to automatically fill in one-time verification codes on iPad

Some websites and apps offer two-factor authentication (also known as multifactor authentication), which helps prevent other people from accessing your accounts even if they know your passwords. Passwords are the first authentication factor, and temporary, one-time verification codes are commonly a second factor.

iPad can automatically generate these verification codes without your reliance on SMS messages or additional apps. You can set them up by scanning a QR code from another device’s screen.

Set up automatic verification codes for a website or app by scanning a QR code

With another device that has a screen, like a computer or iPhone, you can show a QR code from a website or app on it, then scan the code with the iPad camera.

  1. On your other device, sign in to the area of the website or app where you manage your account. Then select options to enable two-factor authentication and an authenticator app.

    A QR code appears to help you set up an authenticator app.

  2. On iPad, use the camera to scan the QR code.
  3. On iPad, select your account for the website or app.

    A verification code appears below the User Name and Password fields.

  4. On your other device, enter the verification code that appears on your iPad.

Set up automatic verification codes for a website or app by entering a setup key

If you can’t scan a QR code from another screen, you can manually enter a setup key.

  1. Sign in to the area of the website or app where you manage your account and then select options to enable two-factor authentication and an authenticator app.
  2. Choose the option to manually use a setup key (or setup code or similar) and then select and copy the setup key.
  3. Go to the Passwords app on your iPad.
  4. Tap All, then tap your account for the website or app.
  5. Tap Edit, then tap Set Up Code.
  6. Visit the website to get a setup key, enter the setup key in Passwords and then tap Use Setup Key.

    If the website offers a QR code, you can touch and hold it, then choose Add Verification in Passwords to do this automatically.

Use a verification code on a website or in an app

  1. Sign in to the website or app.
  2. If prompted, select the option to use an authenticator app.
  3. When asked for a verification code, tap the suggestion that appears above the keyboard.

    If no suggestion appears, go to the Passwords app on your iPad, select your account for the website or app, tap the verification code, then tap Copy Verification Code. Return to the website or app, then paste the verification code into the field.

Automatically delete one-time verification codes

Because one-time verification codes fill in automatically, you can stay in the website or app you’re signing in to. Once Autofill enters the verification codes, you decide whether to keep them or delete them automatically.

  1. Open the Settings app on your iPad.
  2. Tap General and tap AutoFill & Passwords.
  3. Under Verification Codes, turn Delete After Use on or off.

See also