1

I'm working within a custom application in a customer community that is used by both community-license users and Salesforce enterprise users. There is a custom Visualforce page where an application admin can select a user and reset the password. The VF Controller is using the standard System.resetPassword() method.

We are finding that when an enterprise user receives this password reset email, the user can't get to the expected password reset page. Instead, it eventually redirects to the community login screen.

The password reset URL for these enterprise users is based on the community's URL, and it seems that these users cannot change password through the community -- it has to be through the enterprise URL, like what you get when you reset password via Setup.

Has anyone run into this and found a workaround?

(Of course community users have no trouble with password resets through this Visualforce page.)

1

Salesforce support told me to use Site.forgotPassword() instead. He demonstrated how it works for both community users and enterprise users.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.