Skip to content

Create a New White Label User

Before you can register a session in the game, a user must first be created. Passwords must be at least 8 characters long.

Prerequisites

Sign Up a New User

// Remember to use the LootLocker namespace in the top of your file.
using LootLocker.Requests;
// This code should be placed in a handler when user clicks the sign up button.
string email = "[email protected]";
string password = "password here";
LootLockerSDKManager.WhiteLabelSignUp(email, password, (response) =>
{
if (!response.success)
{
Debug.Log("error while creating user");
return;
}
Debug.Log("user created successfully");
});

Conclusion

You've created a new White Label user. Next, learn how to request user verification.