DevRig

Two-factor authentication

How to protect your account with a 6-digit code from an authenticator app on your phone, and what to do if you lose the phone.

For every member of a tenant that signs in with passwords. It is optional. If your organization signs in through an identity provider, two-factor authentication is handled there instead.

What it does

With two-factor authentication turned on, signing in needs two things: your password and a 6-digit code that an authenticator app on your phone shows. The code changes every 30 seconds. Someone who learns your password still cannot sign in without your phone.

Any common authenticator app works, for example the ones from Google, Microsoft, or a password manager that shows codes.

Turning on two-factor authentication

You need a password first (see Setting your password). The authenticator is set up on its own page, opened from a link sent to your email address.

  1. Open the account menu (your initials, top right) and choose Profile.
  2. Under Sign-in security, choose Email me a link to set up an authenticator. A Check your email page confirms that the link is on its way.
  3. Open the link from the email. A page titled Change your authenticator opens.
  4. Type your Current password. The link replaces your authenticator, never your password, so the page asks for the password to prove it is you.
  5. Open your authenticator app, add a new account, and scan the square QR code with the phone's camera. If you cannot scan, copy the Setup key shown under the code into the app instead. The app adds an entry named after the service and your email address, and starts showing 6-digit codes.
  6. Type the code the app shows now into Authenticator code.
  7. Choose Turn on authenticator. Your authenticator is turned on, you are signed in, and your profile opens.

If you see That password is incorrect. or That authenticator code is incorrect. Enter the current one from the new authenticator and try again., nothing has been saved yet and the link is still good. Correct the field and choose the button again. Check that your phone's clock is set automatically; a clock that is off by more than about half a minute gives codes the service does not accept.

Afterwards your profile shows Authenticator app as enabled.

Scan the code with your authenticator app, then type the code the app shows.
Scan the code with your authenticator app, then type the code the app shows.

Signing in with a code

From now on, after you type your password and choose Log in, the Two-factor authentication page asks for the Authenticator code. Type the code your app shows and choose Verify. Signing in has the details.

After your password, the service asks for the current code.
After your password, the service asks for the current code.

A new phone, or a lost one

To move to a new phone, or if you lost the old one, replace the authenticator yourself. You need your password; the emailed link proves that you own your mailbox.

  1. Ask for the link in one of two ways:
    • while signed in: on your profile, under Sign-in security, choose Email me a link to change my authenticator;
    • while signing in, on the page that asks for the code: choose I lost my authenticator: email me a link to change it.
  2. Open the link from the email. The Change your authenticator page opens.
  3. Type your Current password, scan the new QR code with the new phone, and type its current code into Authenticator code.
  4. Choose Replace authenticator. You are signed in, and only the new phone's codes work from now on.

The link changes only the authenticator. In the same way, a set-password link changes only the password: if you use an authenticator, the Set your password page asks for its current code. So no single email can take over your account.

Turning it off

Ask for a link to change your authenticator as described above, open it, type your Current password, and choose Stop using an authenticator. From then on your password alone signs you in.