White Label Login is not yet implemented in the Unreal SDK.
If you need this feature, please let us know on our Discord server.
Handle Returning Player
We don't want a player to have to type in their email and password every time they start the game, so for this we can re-use the session token provided by the WhiteLabelLogin call multiple times.
By default a session token is good for 24 hours, but if you send remember me to true a session will last for 30 days. Remember that these sessions are disconnected from the game session, so you still want to create a game session every time the player opens your game.
The length of a remember session can be changed in platform settings for White Label Login.
When a player opens the game we first want to check if they have a previous session we can use:
// Remember to use the LootLocker namespace in the top of your file.