question

lucaschu-stove avatar image
lucaschu-stove asked

How do a new company provide custom id like steam, google?

Hi, all

I'm working on a game platform company in South Korea

we're planned to support publishing game made on playfab

is there any steps or requirements for us(company) to become official custom id provider? like steam or google

It would be great if a new game makers can select auth as custom id for our company on playfab

we've got our own auth system and want to use them as custom id account link on playfab

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.

JayZuo avatar image
JayZuo answered

If you look at PlayFab's docs and APIs, you will see we are not using custom Id to integrate authentication with Steam or Google. For Steam, we will need a "SteamTicket" and for Google, we will need the "ServerAuthCode". They are not providing a "custom id" for linking on PlayFab.

Once your auth system can return unique Id for each player, you can then use custom Id as a bridge to connect your auth system with PlayFab. But it's highly not recommended. Custom Id is easy to fake, and hackers may pass your auth system to directly use the Id to log into PlayFab. It's not possible to validate that ID, nor is it possible to prevent a hacked client from putting whatever it wants in that ID.

Thus, to become a custom authentication provider like Steam or Google, we'd suggest your auth system implement OpenID Connect protocol. If your auth system can act as OpenID Provider, new game makers can use CreateOpenIdConnection to connect a PlayFab title with your company's platform (this step is like setting up Steam or Google add-ons) and then use LoginWithOpenIdConnect/LinkOpenIdConnect in client to link your platform's user account on PlayFab.

If it's hard for you to implement OpenID Connect protocol in your auth system, you can consider using LoginWithServerCustomId in your server and return SessionTicket/EntityToken to client directly.

10 |1200

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

Made Wang avatar image
Made Wang answered

PlayFab custom id supports 0 to 100 characters. Usually, you can use the device id or generate the custom id by GUID, if you have a tool that can meet the above size requirements and can guarantee that the generated custom id is unique, then it is also feasible.

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.