Search Results :


Setup Salesforce Authenticator as 2FA/MFA for Drupal

Setup Salesforce Authenticator as 2FA/MFA for Drupal

Two Factor Authentication - TFA adds a layer of security on top of basic Drupal authentication. This increase site's security from unwanted hacks and unauthorized login attempts. By following this document you can configure Salesforce Authenticator as a Two Factor Authentication - MFA method for Drupal account. The Drupal Two Factor Authentication - 2FA / Passwordless Login is available for Drupal 7, Drupal 8, Drupal 9 and Drupal 10.

Installation Steps:

  • Download the module:
    composer require 'drupal/miniorange_2fa'
  • Go to Extend menu on your Drupal admin console and enable the module by enabling the checkbox and click on Install button.
  • Configure the module at:
  • Install the module:
    drush en miniorange_2fa
  • Clear the cache:
     drush cr
  • Configure the module at:
  • Navigate to Extend menu on your Drupal admin console and click on Install new module.
  • Install the Drupal Two Factor Authentication / Passwordless login module either by downloading the zip or from the URL of the package (tar/zip).
  • Click on Enable newly added modules.
  • Enable this module by checking the checkbox and click on Install button.
  • Configure the module at
  • Download the latest version of Salesforce Authenticator on iOS/Android device.

Configure Salesforce Authenticator 2FA method

  • Once the module is installed navigate to the Configuration section in the admin console of Drupal site and click on miniOrange Second Factor under people section. (/admin/config/people/miniorange_2fa/setup_twofactor)
  • Register/Login with your miniOrange account.
  • Navigate to the Setup Two Factor tab and scroll down to the TOTP based 2FA methods section.
  • Click on the Configure button next to Salesforce Authenticator.
  • Scan the QR code displayed with the Salesforce Authenticator app.
  • Now, under the Enter Passcode generated by the app, enter the code generated on your Salesforce Authenticator and click the Verify button.

You have successfully configured Salesfoece Aauthenticator as a 2FA method.

Verify 2FA:

  1. Open a new browser/private window and navigate to the login page of the Drupal site.
  2. Try Login with the Drupal credentials.
  3. You will be asked to authenticate using the Salesforce Authenticator passcode.
  4. Enter the code generated in your Salesforce Authenticator app and click on the Verify button.
  5. If the authentication is successful you will be logged in to the Drupal site.

Additional Features:

Explore the advanced features offered by the module with full-featured trial. You can initiate the trial request using Request 7-day trial button under Register/Login tab of the module or reach out to us at for one-on-one assistance from Drupal expert.

 Case Studies
miniOrange has successfully catered to the use cases of 400+ trusted customers with its highly flexible/customizable Drupal solutions. Feel free to check out some of our unique case studies using this link.
 Other Solutions
Feel free to explore other Drupal solutions that we offer here. The popular solutions used by our trusted customers include SSO, User Provisioning, Website Security. 
  24*7 Active Support
The Drupal developers at miniOrange offer quick and active support for your queries. We can assist you from choosing the best solution for your use case to deploying and maintaining the solution.
Hello there!

Need Help? We are right here!

Contact miniOrange Support

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to