Skip to main content

Two-factor authentication

To improve the security of your ESRF accounts, two-factor authentication has been implemented. This measure is mandatory and applies to all users.

You will need: your smartphone AND your computer. (See this FAQ for specific issues)

If you have an Iphone or a Mac, you can follow this procedure instead.

  If you don’t have a smartphone or you use a hardware device (e.g. Yubikey), click here.

Step 1: on your smartphone

  • You will need to use an OTP (one-time password) app.
  • If you don’t already have one, download "FreeOTP Authenticator":

2FA0-1.png

Open the App Store (Iphone) or Play Store (Android) on your mobile phone.

Download the app "FreeOTP Authenticator".

  • For android users only: Open the app, swipe right and click on “Get started”. Set a password and click on “DONE”.
  • Your smartphone is now ready

Step 2: on your computer

2FA0-2.png

  • Then click on “Set up authenticator application” under “Two-factor authentication”.

2FA0-3.png

 

You will see this page:

2FA0-4.png

photo_QR_code_v2.jpeg

  • On your phone,
    • open your Free OTP Authenticator app
    • for android users only, click on the “+” icon
    • Select the QR code icon. 2FA0-5.png
    • Authorize access to your camera if the app requests it.
    • Scan the QR code visible on your computer screen with your phone camera. A token named “European Synchrotron Radiation Facility” will appear. Your app is now ready.
    • Click on “European Synchrotron Radiation Facility” on the smartphone to get your code. Be aware that the code regenerates every 30 seconds (you can view the remaining time in the icon).
  • On your computer, as shown in the screenshot above, 
    • fill in the code from your app in the field "One-time code"
    • enter the name of your smartphone in the "Device name" field.
    • Click on "Submit".

The configuration is now complete!

From now on, when you see the page below when logging into ESRF applications, open your smartphone app, generate a code, and enter it in the field:

2FA0-6.png

FAQ

1 - How come the one-time code I enter is invalid?

Check if the time on the device where your OTP app is installed is the exact same as the one of your network (down to the minute). If it isn't, please sync it then try again.
If it is the same time, then it's possible that you took too long to follow the steps and that the "seed" expired.

In that case you need to delete the existing token from your app:

  • If you have FreeOTP on an android smartphone:

Open FreeOTP and tap the clock next to the token in the app. You should now see a check mark instead of the clock. You can now delete it by pressing the bin icon at the top right-hand corner of your screen.

  • If you have FreeOTP on an iphone:

Open FreeOTP and swipe the token right to delete it.

Now that you don't see a code in your app, all you need to do, is start again from this point onward in the procedure:

Step 2: on your computer

Open Keycloak https://websso.esrf.fr/auth/realms/ESRF/account/#/

2 - I changed my phone or accidentally deleted the token in my app and I'm not unable to log in. What can I do?

  • Click on this link: https://websso.esrf.fr/auth/realms/ESRF/account/#/
  • Click on signing in
  • Enter your username
  • Then, instead of entering your password, click on forgot password.
  • You should receive an email. Click on the link in the email.

You will be automatically redirected to a page where you can configure OTP on a new device. Please follow the procedure again to configure your new device.

3 - Why choose two-factor authentication to improve the security of ESRF accounts?

Two-factor authentication is a simple system to secure user access. If your password is stolen, your account remains inaccessible without the generated code. It can be used offline and is relatively easy to setup.

 

 

Any issue during the configuration?   Please call our helpdesk +33 (0)4 76 88 24 24 (Monday to Friday 8:00-12:00 and 13:00-17:00 Paris time) and tell us where in the procedure you are stuck and what is the error message that you get.