Two-factor authentication in Salesforce.

Asked 03-Feb-2018
Viewed 636 times

1 Answer


0

Salesforce provides Two-factor authentication means is a two-step login process. We can enable it if our users need more security rather than the ordinary login process. In this process, once the user logs in using their username and password, a token or passcode is sent to our device, which we need to enter in order to finally log in.

Time-based tokens can now be used as a substitute to SMS-based (not available for non-English organizations) and e-mail-based login verification to activate a computer:

  1. Download the supported Authenticator app for our mobile devices.
  2. Create one permission set with the name Two Factor Authentication.
  3. To do this, navigate to Name > Setup > Manage Users > Permission Sets > New and Enter the data and click on “Save” button, as shown in the following screenshot: Twofactor authentication in Salesforce
  4. Now, after save, go to the System section and click on “System Permissions” link. [See the Screenshot] Twofactor authentication in Salesforce
  5. Now, in “Find Setting” search box enter the following text: “Two-Factor Authentication for User Interface Logins” system permission in the newly-created permission sets.
  6. Now, navigate to the user's record for which you want to enable Two Factor Authentication.
  7. Add this permission set to the user's record by clicking on the Edit Assignments button in the list related to Permission Sets Assignments on the user's record.
  8. Now, log out from Salesforce and log in using your credentials; you will come across the following page: Twofactor authentication in Salesforce
  9. Open Google Authenticator App on your mobile and scan the QR code, and it will look like the following screenshot:  Twofactor authentication in Salesforce
  10. Enter this code in the login screen and access your organization.

Removing Time-Based Token/Two-Factor Authentication

It's very easy to do this; just navigate to the user's record and click on the Remove link beside Time-Based Token:
Twofactor authentication in Salesforce