home User Guide Getting Started Help Center Documentation Community Training Certification
Looker keyboard_arrow_down
language keyboard_arrow_down
Two-factor authentication

Looker provides two-factor authentication (2FA) as an additional layer of security to protect data accessible via Looker. With 2FA enabled, every user must authenticate using a one-time code generated by their mobile device when logging in. The Two-Factor Authentication page in the Authentication section of the Admin menu lets you enable and configure 2FA.

Two-factor authentication does not affect Looker API use.

Using two-factor authentication

Below is the high-level workflow for setting up and using 2FA. Please note the Time Synchronization Requirements, which are required for correct operation of 2FA.

  1. Administrator enables 2FA in Looker’s Admin settings.

    When you enable 2FA, any users logged in to Looker will be logged out and will have to log back in using 2FA.

  2. Individual users install the Google Authenticator iPhone app or Android app on their mobile devices.

  3. At first login, a user will be presented with a picture of a QR code on their computer screen, which they will scan with their phone using the Google Authenticator app. After doing so, they will be able to generate authentication keys for Looker.

  4. On subsequent logins to Looker, the user will need to enter an authentication key after submitting their username and password.

    If a user enables the This is a trusted computer option, the key authenticates the login browser for a 30-day window. During this window the user can log in with username and password alone. Every 30 days Looker requires each user to re-authenticate the browser with Google Authenticator.

Time synchronization requirements

Google Authenticator produces time-based tokens, which requires time synchronization between the Looker server and each mobile device in order for the tokens to work. To synchronize time sources:

Resetting two-factor authentication

If a user needs to have their 2FA reset, for example, if they have a new mobile device:

  1. In the Users page in the Admin section of Looker, click Edit on the right-hand side of the user’s row to edit the user’s account information.
  2. In the Two-Factor Secret section, click Reset. This causes Looker to prompt the user to rescan a QR code with the Google Authenticator app the next time they attempt to log in to the Looker instance.