Hi, I am in the process of using Photon as a custom matchmaker, while hosting a dedicated server on PlayFab, and I have a few questions in regards to whether or why PlayFab needs to talk to Photon for custom authentication.
Currently, I am handling the PlayFab authentication flow simply by calling LoginWithCustomId. Since I am using Photon matchmaker rather than PlayFab one, after the login is successful, I create a lobby room using Photon match maker, and pass the user info as room settings.
From reading here and here, it seems like PlayFab + Photon integrations requires me to pass Photon Auth Tokens, and the server to call AuthUser as well. I don't quite understand why I have to do that, if I am handling the login logic myself using PlayFab.
In general, I'd like to get a better understanding of the matchmaking flow required to use Photon Matchmaker. I know what calls I have to make using PlayFab matchmaker, but what calls do I still have to make to use a custom matchmaker? Do I only need to call Client::StartGame? How do I tell PlayFab to spin a server down, once the lobby is empty?
Thanks