Skip to main content
Setting up Two-Factor Authentication with Locker adds an extra layer of security to your online accounts. You can then autofill TOTP when logging into websites and apps quickly and easily. First, you need to set up 2FA for your account or link your account to an existing OTP.

Autofill TOTP from the extension

From the Locker extension, you can autofill TOTP along with login credentials for any website or service.
1

Visit the website

Visit the website you want to log into.
2

Autofill login

Locker will automatically fill in your login credentials.
3

Autofill TOTP

On the Two-Factor Authentication screen, Locker automatically detects the TOTP linked to your login credentials and autofills it. You will be authenticated successfully.Autofill TOTP on GitHub
If you have created 2FA for your account but have not linked it to your login credentials, the code will not be autofilled. In this case, you can click the Locker icon inside the TOTP input field, then scroll down to select the correct TOTP for the website you are logging into. Select TOTP from the list

Autofill TOTP on mobile devices

From the Locker mobile app, you can autofill TOTP along with login credentials for any website or app on your phone.

On iOS

1

Open the website or app

Open the website or app that you want to log into.
2

Autofill login

Tap the email input field and tap the Locker suggestion that appears on the keyboard. Locker will automatically fill in your login credentials.
3

TOTP is saved to clipboard

After you log in, the TOTP linked to your account will be saved to the clipboard.
4

Paste TOTP

On the Authentication screen, tap the TOTP input field and hold for a second. You will see the Paste option appear.Paste TOTP on iOS
5

Authentication successful

Tap the Paste option to autofill the TOTP code from the clipboard. You will be authenticated successfully.
The TOTP will expire after 30 seconds. After that, you may need to open the Locker app to get a new TOTP.

On Android

1

Open the website or app

Open the website or app that you want to log into.
2

Autofill login

Tap the email input field and tap the Locker suggestion that appears on the keyboard. Locker will automatically fill in your login credentials.
3

TOTP is saved to clipboard

After you log in, the TOTP linked to your account will be saved to the clipboard.
4

Fill TOTP

On the Authentication screen, tap the TOTP input field. You will see the TOTP code suggested on the keyboard.
5

Authentication successful

Tap the TOTP to autofill the TOTP input field. You will be authenticated successfully.
The TOTP will expire after 30 seconds. After that, you may need to open the Locker app to get a new TOTP.