Skip to content
  • There are no suggestions because the search field is empty.

Multi-factor Authentication (MFA)

JOSF fully supports the generation of Time-based One-Time Passwords (TOTP), allowing you to seamlessly automate login flows for applications secured with Multi-Factor Authentication (MFA)/Two-factor authentication (2FA) . 

Below, you will find exactly how to generate these tokens and how to retrieve the required secret key. 

Create TOTP token

${totp(secret)}

Generate a 6-digit Time-based One Time Password (TOTP) which can be used to sign into a application with 2FA.

 

How to retrieve a secret?

When enabling 2FA, you will receive a QR code that must be stored in your authenticator app, as it contains the secret key. By scanning the QR code with a QR-code scanner app/Google lens search, the secret is most of the time shown on your screen. If 2FA is already activated, some authenticator apps may allow you to retrieve the secret key, though this is often restricted due to security precautions.

An example for a Microsoft account:

  1. Go to My Sign-Ins
  2. Click on the Add sign-in method button
  3. Select Authenticator app and click Add
  4. Click on the I want to use a different authenticator app link
  5. Click on the Next button
  6. Click on "Can't scan image?" link
  7. Copy Secret key !!keep it safe as you will need it later!!
  8. Use your authenticator app to scan the QR code
  9. Click on Next button

              Use: ${totp(secret)} where 'secret' is your key saved in step 7. Take this 6 digit code from JOSF and follow step 10.

                  10. Enter the code from your authenticator app (JOSF!) and click on Next