How to set up Multi-Factor Authentication (MFA)
Before you start using multi-factor authentication, you need to registered at least one authentication device. The first one has to be a TOTP app, then you can register arbritrary number of TOTP apps and WebAuthn authenticators. After you add your first token, you can go to user profile and enable MFA for all services connected to e-INFRA CZ AAI.
Contents
Add first token
Go to the token management page. Either visit mfa.login.e-infra.cz directly or visit e-INFRA User Profile, select Settings > Authentication and click on “Manage my MFA tokens”.
Sign in with your account
Enter by clicking on
Log in
Click on
Enroll Token
Enter the description of your first TOTP token and confirm by clicking
Enroll Token
You will see a QR code with a shared secret. Scan the QR code with your TOTP app.
If you are enrolling from the mobile phone that has installed a TOTP app, click on Here next to the QR code. Shared secret will be transferred via link.
You do not have to backup the QR code or the link - you can register more TOTP apps later, using a different code.
Next time you sign in at mfa.login.e-infra.cz you will have to use multi-factor authentication.
Add more tokens
Click on
Enroll a new token
. If you opened the page on a WebAuthn capable device, choose token typeWebAuthn
, enter a description (e.g. "Work laptop") and continue by clickingEnroll token
.A dialog widow from the web browser or from the operating system pops up, asking for confirmation.
Push the button on your physical authenticator, confirm by fingerprint when on smartphone or perform another required action depending on the device. In the picture you can see the variant for Ubuntu 22.04 (USB authenticator)
If the registration was successful, a confirmation about added token appears.
You may add arbitrary number of TOTP apps and WebAuthn devices. We highly recommend adding at least two devices and at least one of them with TOTP app.
Recovery codes
To prevent losing access in case you lose all registered devices, it is possible to generate one-time recovery codes, which you can securely store or print out.
Click on
Enroll token
As a type choose
PPR
, enter description and click onEnroll token
See recovery codes by clicking on
The OTP Values box
. You can also print them out or download in PDF by clickingPrint the OTP list
.
Force Multi-factor authentication for all services
If you want maximum level of security, open user profile.
Go to Settings > Authentication and toggle the Turn on multi-factor authentication for all services switch
(see the picture).
You be asked to sign in again using multi-factor authentication to confirm the action. From now on, every sign in to your account will require the multi-factor authentication.
Support: perun@cesnet.cz