Advanced User Management
Manage the session and avatar state of your users
There are two types of end-users coming to your app or game. Users with an existing Ready Player Me account and users without. For both of them, you want to create a seamless user experience.
You need to implement a slightly different journey for the different types of users:
Users with an existing Ready Player Me account want to bring their avatars to your game. To ensure a great UX, you should implement Account Linking so those users only need log in once and authorize your app or game to link their account.
You also want to store the state of avatars for users that do not necessarily have an existing Ready Player Me account. Still, you want to offer them all functionality of Ready Player Me avatar system. For those users, you need to create a guest account additionally. Account Linking works then the same for this type of user.
If you don't implement account linking and guest accounts, we try to restore the user's session from local storage in the browser. But this won't work in all cases. E.g., when a user switches to a different device, removes browser data, or their browser blocks session management in the local storage. For guest users, this means they lose their avatars. Users with a Ready Player Me account must log in whenever they come to your app or game.