Tutorial
Protect your account with a second step
Turn on two-step sign-in with an authenticator app, save your backup codes and sign in with both.
In this tutorial we add a second step to our Sovrain account. From now on, signing in takes our password and a six-digit code from an app on our phone. We also save backup codes, so that a lost phone does not lock us out.
It takes about 5 minutes.
Before you start
You need:
- a Sovrain account you can sign in to;
- an authenticator app on your phone.
An authenticator app shows a six-digit code that changes every 30 seconds. If you do not have one yet, any of these free apps works:
| App | Where it runs |
|---|---|
| Google Authenticator | Android and iPhone |
| Microsoft Authenticator | Android and iPhone |
| Passwords | Built into iPhone and Mac |
Many password managers can show these codes too, for example 1Password. The codes follow a standard called TOTP, short for time-based one-time password, so any other app that supports TOTP works too.
Open your security settings
Sign in to your organization, for example
https://acme.sovrain.net.On your home page, find the warning Two-factor is off. Protect your account in 2 minutes. and select Set up 2FA.
You can also get there from any page: open the account menu with your initial at the top right, select Profile & settings, then Security in the menu on the left.
You are on the Security page. Under Authenticator apps it says None yet.
Add your authenticator app
Select Add an authenticator.
Sovrain may ask you to sign in again, with the message Sign in again to confirm it’s you. It does this before you add or remove a second step when your last sign-in was more than 5 minutes ago. Sign in, and when you are back on Security, select Add an authenticator again.
Sovrain shows a QR code. Open your authenticator app, add an account and scan the code.
If you cannot scan it, type the key shown under Cannot scan? Type this key instead. into the app, or select Copy and paste it.
In Name, type
My phone. The name only helps you tell your authenticators apart later.In Code, type the six digits your app shows now, and select Turn it on.
Save your backup codes
Sovrain now shows Backup codes: ten codes such as 80KND-Q62FN. Each one signs you in once instead of the
code from your phone.
- Select Download and keep the file somewhere safe that is not your phone, or write the codes down. Sovrain shows them only now.
- Select I have saved them.
- On Confirm your backup codes, type one code from what you saved, and select Finish.
Typing a code here only proves you have them; that code still works later.
Back on Security, notice that My phone is listed under Authenticator apps and that Backup codes shows 10. Sovrain has also signed you out on every other device where you were signed in.
Sign in with both steps
- Open the account menu (the round icon with your initial at the top of the page) and select Sign out.
- Sign in again with your login name and password.
This time Sovrain stops at One more step and asks you to Enter the 6-digit code from your authenticator app.
- Type the code your app shows now and select Continue.
You are on your home page again. The warning is gone, and the Security tile says 2FA on · 10 codes.
What we did
We added an authenticator app as a second step, saved and checked our backup codes, and signed in with a password and a code.
Next steps
- Add a security key or passkey, a second step you only touch.
- Use backup codes when your phone is not at hand.
- About two-step sign-in: the methods and how applications see them.
- If you followed Sign in to a test app with DevRig, run Test sign-in again: in
the new ID token,
amris["pwd", "otp", "mfa"], a password and a one-time code.