I am using the auth0.net management API and am having a bit of trouble: I want to create a user, but it seems like this code is sending a password reset invitation:
var management = new ManagementApiClient(token, _auth0Uri.Host, _managementConnectionService);
var request = new UserCreateRequest
{
Email = nppUser.Email,
FirstName = nppUser.FirstName,
LastName = nppUser.LastName,
Password = Guid.NewGuid().ToString(),
Connection = ConnectionName,
VerifyEmail=false
};
According to this and this I can set VerifyEmail to false and it should not send an email, but it is anyways. I’ve also tried EmailVerified=false and it yields the same result. I am doing this because I need to customize the invitation process, and showing “Reset Password” isn’t exactly the most thoughtful invitation (and I still want to use the reset password email for actual email resets). Thanks.