question

zensoftstudio avatar image
zensoftstudio asked

[server/admin APIs] Is there any way to issue session ticket without calling Login* API?

We have an ongoing game use playfab heavily from authenticate to player data storage... Now we need to integrate new authentication gateway. End of the day after player link to new login account we will have an uuid link to player's current playfab_id (LinkServerCustomId) . After that our server will call LoginByServerCustomId to return the session ticket to user.

But the problem is some of old additional backend of the game also use ServerCustomId for some purpose and they are not ready to allow us to override. So is there anyway to work around? the final goal is return session ticket to the client.

apis
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

·
Infer Wang avatar image
Infer Wang answered

You can call LoginWithServerCustomId to link a new server custom id to the account with old backends’ remained. As I tested, if you call LoginWithServerCustomId with another server custom id to the same account, you can still use the previous server custom id (as well as the second id) to login to this account. Just note that PlayFab GameManager only displays the newest used id , so you may keep a record of those id in your server as well.

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.