Dear support team,
I am trying to develop the "Reset password" function in my app. I am following the steps in this post to do it.
https://community.playfab.com/questions/44554/how-to-make-the-reset-password-function.html
Currently, I completed the steps as below:
- Write a custom CloudScript function -- "storeToken", to save the Token to the player's internal data.
- Create a PlayFab Rule to store the token to the player's internal data when users click on "confirmationURL" in the confirmation email
- Design the UI in my app that users can write new password and send the request to change their password.
But now I am facing the problem is that to call Reset Password that is only called by PlayFab Admin API.
So now I want to make a custom server to receive request from users and call the API - Reset Password. I spent a lot of time on searching and investigating, and know how to build the custom server as these references :
- https://docs.microsoft.com/en-us/gaming/playfab/features/multiplayer/servers/custom-game-servers
- https://github.com/PlayFab/PlayFabGameServer
However, I don't know how to make the Game Server in Unity to receive request from users and call the API - Reset Password using the store Token that is saved as the player's internal data and new password. And how to send the request from clients (my app) to a custom server to make the reset password?
Could you give me the example code for that in details?
This issue is really important for me.
And I hope that the API - Reset Password will be implemented by Client API in the future, it is easy for developers.
Thank you so much for your support.