Start a new topic

Password Reset not working?

Hello!


I am trying to use the reset password feature, making post requests like this one:

 

http://baas.kinvey.com/rpc/kid_S1uMVFSv/test@i9acao.com.br/user-password-reset-initiate

 

(With a empty post body, and with app credentials)

 

But never received any email .

I also tried

mKinveyClient.user().resetPasswordBlocking(“test@i9acao.com.br");

in java, but also did nor receive any emails.

 

What am i doing wrong?

 

 


Hi Eduardo,


Can you tell me what the values are in username and email columns for the user for which you tried password reset?


Is this working for other users?



Regards,

Wani

Kinvey Support

Hello Wani,


in this example the username = "test@i9acao.com.br", without email column.


Best regards,

Eduardo

Eduardo,

The password reset feature sends an email (containing a link) to the requested user. Specifically, since the user's username property can be anything (it does not have to contain a valid email address), Kinvey sends this email to the email property of the user. This means that if you want to reset the password of a user, you must make sure the user has a valid email property.



1 person likes this



I added the email column and it worked!



Thanks!


Excellent! We're glad to hear it. Good luck with your app.

Login or Signup to post a comment