Hi
We have an already existing API hosted on our own servers, which we use for user authentication. We would like to allow users to authenticate and retrieve a token in-game from our own backend, and then call the Playfab API with LoginWithCustomID, using our session token as the CustomId.
How would I go about configuring our Playfab account so that it can use this token to validate against our backend? I have looked through the Cloudscript documentation, but as far as I can understand, it is intended for asynchronous events which will run after the LoginWithCustomID request has already returned to the client?
If I am misunderstanding how LoginWithCustomID is intended to be used, I would appreciate being corrected.