question

yehor avatar image
yehor asked

Reset password in-game

Hello. Is there any possible way to reset password from client side? Maybe some cloud script call with password as a data?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Andy avatar image
Andy answered

The only way to execute a password reset is through the admin API call ResetPassword. The client can initiate the reset process, though, by calling SendAccountRecoveryEmail. Detailed instructions for how to do this are here: https://api.playfab.com/index.php?p=docs%2Ftutorials%2Flanding-players%2Fusing-email-templates-to-send-an-account-recovery-email

3 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

yehor avatar image yehor commented ·
@Andy

yes, I've read this tutorial. The problem is in security token. The only way to achieve it is by clicking on recovery link. Or is it another way to get it?

0 Likes 0 ·
Andy avatar image Andy ♦♦ yehor commented ·

No, the security token we generate isn't accessible in any other way. You could always implement your own recovery flow using your own servers and our admin API, but the only method we support directly right now is resetting via the emailed link.

0 Likes 0 ·
gestion avatar image gestion Andy ♦♦ commented ·

Hi @Andy,

Do we need to install any certificate on our server or encrypt the password in order to make the ResetPassword call?

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.