Hello,
I’m trying to test out my script in development tenant for user migration and unable to receive a password reset email. For that, I’m creating a mock user. I start by calling /api/v2/users
endpoint with the following payload:
{
email: '{user email}',
email_verified: false,
connection: 'Username-Password-Authentication',
password: '{random password}'
}
Then I’m trying to send password reset email via dbconnections/change_password
endpoint with the following payload:
{
email: '{user email}',
connection: 'Username-Password-Authentication',
}
I’m getting response:
We've just sent you an email to reset your password.
No problems while creating users, I’m able to log in. But for some reason, I don’t receive any password reset emails even though I’m getting 200 response. No such emails in trash/spam folders either. I have verified that email provider is working (via dashboard) and I’m able to receive verification emails (while toggle is on). Also, I have tried to test sending password reset template but the result is the same as with dbconnections/change_password
endpoint.