question

julietadangelo avatar image
julietadangelo asked

Two users with the same email in the same title!!

If a user sign up at first with an gmail email (without using Google button), playfab creates a player but then if the next time user uses the Google button to login (with the same email), playfab creates another player with a different ID. This is a huge bug for us! How can we solve it?? Thank you

Title 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

·
Neils Shi avatar image
Neils Shi answered

Even if the player logs in with the same email on both logins, PlayFab will create a new account because they chose a different login method for both logins. In your case, if the player has created and signed in to the new account using google email via the API RegisterPlayFabUser/LoginWithEmailAddress, but next time, he wants to log in using the Google button (sign in via API LoginWithGoogleAccount), then they can call API LinkGoogleAccount to link the previously registered account to their Google account. In this way, no matter which of the above methods the user chooses to sign in at next time, they will always have access to the same PlayFab account.

5 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.

julietadangelo avatar image julietadangelo commented ·

Thank you for your answer. Is it possible to link both with the first master player account ID (the one created at first with email address)??

0 Likes 0 ·
Neils Shi avatar image Neils Shi julietadangelo commented ·

Could you tell us more details about “link both with the first master player account ID”? In your case, players just need to log in to the account they created before (the account created at first with email address), and then they can call the API LinkGoogleAccount to link the currently signed-in account to their Google account.

0 Likes 0 ·
julietadangelo avatar image julietadangelo Neils Shi commented ·

In our case, users register at first with Email and then with Google. We need to keep the first account (not the second one) and we need to allow users to start using Google login with that first account, is that possible?

0 Likes 0 ·
Show more comments

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.