question

rima avatar image
rima asked

How can i add Open Id Player External Identifier

Hi there ,

We've managed to integrate Epic games open id authentication with PlayFab. But we've noticed there is no way to store the player external Id (EpicAccountID) in the same way the player steam id is stored on playfab.

what is the best solution to approach this problem?

Vs Open ID

Player DataAccount ManagementAuthentication
screenshot-262.png (10.2 KiB)
screenshot-264.png (7.7 KiB)
2 comments
10 |1200

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

Seth Du avatar image Seth Du ♦ commented ·

Would you try GetUserAccountInfo API to see if the information is contained in the response?

1 Like 1 ·
rima avatar image rima Seth Du ♦ commented ·

Oh that make sense the "Subject" field in the GetUserAccountInfo response in the OpenIdInfo object is equivalent to the external id of the player.

Thanks a lot Seth for the heads up.

0 Likes 0 ·

1 Answer

·
rima avatar image
rima answered

Just putting it here as the answer in case anyone in the future is looking for the same thing.

When you request GetUserAccountInfo , the Object OpenIdInfo contains a field Subject which would be equal to the player's external id. E.g in our case the subject would be the same as the player's Epic Games Account Id.

Thanks to @SethDu for the solution.

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.