question

Walentin avatar image
Walentin asked

[Private/Anonymous Server] Authenticate Session Ticket

Our game offers both official and private servers.

PlayFab's Server.AuthenticateSessionTicket(...) requires a title secret key in the request header. This is not an issue for official servers as we are in control of the infrastructure and can provide our own secret key, however how would private servers handle authentication? Currently we are using Steam's anonymous ISteamGameServer.BeginAuthSession(...) to authenticate connecting Steam players. Is there an anonymous alternative on PlayFab's side that we are missing?

How are other titles handling this issue?

AuthenticationCustom Game Servers
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

·
Gosen Gao avatar image
Gosen Gao answered

To call Authentication - Authenticate Session Ticket - REST API (PlayFab Server) | Microsoft Learn, you have to set the Secret key, since there is no anonymous version of this API. If you cannot let your private server have the Secret key, then you can call this API in Azure Function.

1 comment
10 |1200

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

Walentin avatar image Walentin commented ·

This is the approach we went with. Thank you.

0 Likes 0 ·

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.