question

Cyrille Bousquet avatar image
Cyrille Bousquet asked

Account late linking

Hi,

I'm wondering how to approach a specific scenario. It might already have been mentioned in another discussion but couldn't find anything truly relevant.

So here are the steps

  • We login player with platform tokens and automatically create an account for them so it's silent and they can quickly go ingame

  • Player logins on 2 different platforms (A & B), hence creating 2 playfab accounts

  • Since the account is anonymous, we offer a menu option to create a real account by providing an email/password

When prompted to create account, it seems doable with the Add Username Password API. Let's say player does this while on platform A.

Then how do we link account from platform B ?

There are Link XXX Account for each platform, would this merge the accounts properly ? Especially the characters and inventories ?

Or is the only option is with those Link XXX Account APIs by using the ForceLink flag which would leave the anonymously created account on platform B now orphan of platform account ?

It might be a very edge case scenario where a player plays on multiple platforms before thinking about linking the accounts together and have crossplatform progression benefits, so what would be the best way to handle that ?

Cheers, Cyrille // Bousk

Account Management
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

For linking multiple platform accounts to one PlayFab account, you can refer to the following steps:

  1. Login with platform A(for example Android Device) which creates a PlayFab account.

  2. Add a recoverable login method for this PlayFab account, refer to Adding a recoverable login to an existing anonymous account.

  3. Player wants to play on another platform(for example iOS Device), player should login with Email and Password first, then link the current platform.

If you create 2 PlayFab accounts, they cannot be merged into one. Unless you drop one of them and relink the account. Recoverable logins are important if players want to play on multiple platforms with the same account.

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.