question

Saphal Aryal avatar image
Saphal Aryal asked

Shoud I delete the account linked with android when Logout from device ?

When player logged in second time .player is logged in with android id . and new account is created in playfab. and when player logout that new account created is useless .

So What should I do for it ?

What is the best way of logging out player ?

Authentication
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

·
Made Wang avatar image
Made Wang answered

Can you explain why a new account is created when the player logs in for the second time? Usually, a player should only have one account, but this account can have multiple login methods.

If the logout you say means that the player no longer uses the device, then you can unlink the AndroidDeviceID for it, but only if the account has other recoverable login methods, otherwise the player will not be able to log in to this account again.

For the usual logout, PlayFab doesn't provide such functionality, but you can delete session tickets on the client side, and if you're using Unity, you can use PlayFabClientAPI.ForgetAllCredentials().

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.