Hi #ExternalIdentity specialists.
We have a situation where we are using passwordless and password-based user registration in the same community.
Everything is working fine (at last) : registration, user creation, login with password, password (by SMS and email), as well as numerous social login options.
One thing I can't get to work is that
String userId = Site.createExternalUser(u, accountId, NULL);
does NOT send the user a password.
However, the user IS created correctly and when I ask to renew the user's password (on the record's page), the user DOES receive the password email.
What could be the reason for the password email not being sent out ?
I hope you can help.
OK, thanks all for your support.
Just to confirm that the workaround in Known Issue
https://success.salesforce.com/issues_view?id=a1p3A000001SH27QAGDOES work :
just activate Community Member Welcome emails !