Manage identities

Managing a player’s linked identities is important to ensure your players can secure their accounts and use the access method of their choice. When offering account linking to your customers, it's important to properly handle every scenario.

A player can have multiple linked unique external identities (Apple, Facebook, Google). However, an external identity can only be linked to a single player.

Retrieve a player's information

GetPlayerInfoAsync() can be used to load a player’s information which includes their linked identities.

Handle account linking conflicts

The linking operations will throw an error if an identity is already linked to another player.

When there’s a conflict, it’s important to inform the player of the situation.

An optional parameter can be provided to force the link to be created. Using this option will remove the initial link which can make the initial account unrecoverable.

We recommend offering the following options in case of conflict:

  • Choose to force the link and keep the current account.
  • Choose to switch to the initial account by using the LoginWithX API.
  • Choose to cancel the action and remain in the current state.