Generate a temporary verification code for users who can’t access the device they usually use for two-factor authentication. You set when the code expires, from 1 to 24 hours after you generate it. The code can be used multiple times until it expires.
|Available in: Both Salesforce Classic and Lightning Experience|
|Available in: Contact Manager, Group, Professional, Enterprise, Performance, Unlimited, and Developer Editions|
|To generate a temporary verification code:||“Manage Two-Factor Authentication in User Interface”|
Temporary verification codes are valid for two-factor authentication only. They aren’t valid for device activations. That is, when users log in from an unrecognized browser or app and we require identity verification, they can’t use a temporary code.
From Setup, enter Users in the Quick Find box, then select Users.
Click the name of the user who needs a temporary verification code.
You can’t generate a code for an inactive user.
Find Temporary Verification Code, then click Generate.
If you don’t already have a session with a high-assurance security level, Salesforce prompts you to verify your identity.
Set when the code expires, and click Generate Code.
Give the code to your user, then click Done.
After you click Done, you can’t return to view the code again, and the code isn’t displayed anywhere in the user interface.
Your user can use the temporary verification code multiple times until it expires. Each user can have only one temporary verification code at a time. If a user forgets or loses the code before it expires, you can manually expire the old code and generate a new one. You can generate up to six codes per hour for each user.
When you add an identity verification method to a user’s account, the user gets an email. To stop sending emails to users when new identity verification methods are added to their accounts, contact Salesforce.