When an internal user accesses an Experience Cloud site, multi-factor authentication (MFA) is always required. Salesforce doesn't require MFA for external users to access Experience Cloud sites, but you can choose to enable it. Both internal and external users can see prompts to set up a passkey when they log in to an Experience Cloud site, but the prompts are slightly different.
Required Editions
| Available in: both Salesforce Classic and Lightning Experience |
| Available in: Enterprise, Performance, Unlimited, and Developer Editions |
| User Permissions Needed | |
|---|---|
| To view user licenses: | View Setup and Configuration |
Internal Users
Internal users access your Salesforce org directly, but can also access Experience Cloud sites. Internal users have one of these licenses.
If an internal user logs in to an Experience Cloud site, Salesforce requires MFA. If the user doesn't have a registered MFA method, they see a prompt to create a passkey.
External Users
External users, such as customers and partners, access Salesforce only via Experience Cloud sites. They don't access your Salesforce org directly. External users have one of these licenses.
While Salesforce doesn't require MFA for external users, you can choose to require MFA by assigning the “Multi-Factor Authentication for User Interface Logins" user permission. If an external user has this permission, they can see a prompt to register a passkey. If they don't want to register a passkey, they can click Choose Another Verification Method.
Currently, external Experience Cloud can't disconnect passkeys from their user account by
themselves. To disconnect an external user's passkey, use the UserManagement.deregisterVerificationMethod(userId,
method) Apex method. This method disconnects only one passkey at a time.
For example, if a user has 3 passkeys, this method disconnects only one passkey. To
disconnect the rest, use the same method until all passkeys are disconnected.
Identify a User's License Type
To identify whether a user is internal or external, review the user’s license.
- From Setup, in the Quick Find box, find and select Users.
- Click the user’s name, and then review the user’s license.