Username as the LoginID for forgot password workflow
-
We will soon be implementing forgot password. Up to now we've never enforced unique email addresses for users, but have username as a unique user loginId. I see in the documentation for forgot password, you can use the username as the loginId instead of email. Has anyone implemented it in this way? How has the experience been? We store our user's emails in a custom attribute data.email which is where we'd send the reset email - can you customize that to include the username? (Assuming two users share the same email address, the reset email would need to specify for which account the email pertains to). Interested to hear if anyone has it implemented this way and how it has worked.
-
@david-4 You should have have any problem using the loginId. As far as searching the custom attribute data, you should be able to using the APIs if needed. Check out how to search user data attribute here.
-
@mark-robustelli Thanks! I've been trying to find customizing (basically equivalent of a merge field) into the Forgot Password email itself. Is the forgot password email customizable? Can you specify the Username in the body of the email? (If one email address is shared among multiple accts, they need to know for which username they're resetting the password)
-
@david-4 , Is this what you are looking for? Using Replacement Variables