question

Juan Felipe Medrano avatar image
Juan Felipe Medrano asked

How to manage multiple possible accounts with multiple data?

Our problem comes from the way accounts share links between titles.

Our games support mobile ID login, Facebook login, and google login.

Let's say the player Downloads a game (Game A) and signs in with a device (Device A) and links his Facebook account. then, sometime later, he changes devices (Device B) and downloads another game (Game B), here he doesn't sign in with Facebook but instead signs in with google. now he has two accounts.

Account 1: Facebook -- Device Id A --- Data game A

Account 2: Google -- Device Id B --- Data game B

Now The player decides to link Device B to Facebook, for this, I have to unlink Facebook from account 1 and link it to account B, but that means that the data of game A is no longer accessible by this user.

How can I preserve data from other titles when linking and unlinking possible login mechanisms?

Account ManagementTitle Datadata
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

·
Gosen Gao avatar image
Gosen Gao answered

Titles in the same Studio share the Title player account. Players once registered a PlayFab account in a Studio, they can use the same account to log in other Titles in that Studio.

If you share player data between titles, you need to provide the player an option to log in with an existing account before they start playing your game. If you don’t, just create titles in separate studio.

Or, you can link multiple login methods for players and when they try to unlink the last login method, you can warn them in your client. Login identity can be found by API GetAccountInfo.

10 |1200

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

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.