Hi, I have created a game in which I have used LoginWithAndroidDeviceID for Android device and LoginWithIOSDeviceID in case of iOS device.
The reason I created this login in my game is to create a seemless login approach but in order to keep my users access their saved data on any device I want them to enter their email addresses at a later stage (after playing game 3 to 5 times)
How can I link their deviceID accounts to their email accounts? I tried using this LoginWithEmailAddress request but it gives an error "Account not found!"
Is there any special parameter I have to pass using this request which will point it to the deviceID account and then links it with it? OR Is there something I'm missing?
I have found couple of posts regarding this query but they weren't much of help for me that's why I have created another post with as much detail as possible. Thank you!
@Citrus Yan @Brendan Can you please guide me ASAP as I have a client waiting who needs it done ASA. Thank you!
@SethDu Can you please guide me ASAP as I have a client waiting who needs it done ASAP. Thank you!
Answer by SethDu · Sep 02, 2019 at 08:42 AM
Players can login into their accounts to call AddUsernamePassword to add it. Either username and email adress is available in this API.
LoginWithEmailAddress is an API for login, which is like LoginWithAndroidDeviceID. It cannot be used for linking accounts.
Will they be able to use LoginWithEmailAddress after adding Username/EmailAddress to their deviceID account?
Because I want them to be able to login from another device if they want to.
Yes, of course they can. As after doing that, both email and device ID will be the identities for login. You may refer to my replies in this thread: https://community.playfab.com/questions/31436/linking-accounts-does-not-update-stats.html. (Even though the email and password will be stored in the Master Player Account field instead of Identities in the Game Manager).
@SethDu Alright thank you I will try and keep this post updated to let you know if the problem is resolved or not.
Get Language List fails at Entity Authentication 2 Answers
Error Code 1011: AccountAlreadyLinked 1 Answer
User log in with unsupported platform 1 Answer
How to check how many sessions each player has opened? 1 Answer
Google login issues not using GPGS for Unity not working consistently? Code already redeemed 1 Answer