Sync Account
Last updated
Last updated
Sync account is a feature that allows you to synchronize the users' Umiverse platform accounts to your game.
SDK DEMO: https://github.com/umiverse-io-v2/umi-oauth-demo
There are two ways to sync your account: OAuth login and redirect. OAuth login is suitable for mobile/desktop games, while redirect is suitable for HTML5 games. Here's an overview of each method:
OAuth is a type of authorization mechanism that allows a user to grant access to their account to a third-party application without sharing their password.
OAuth login is typically used for mobile/desktop games, where the user logs in to the game using their OAuth credentials.
The game then uses the OAuth access token to access the user's account information and game data.
OAuth login is a secure way to access a user's account without requiring the user to share their password with the game.
Redirect is a method of syncing accounts that is typically used for HTML5 games.
In this method, the user's UID information is included in the link that is used to access the game.
When the user clicks on the link, the game reads the UID information and uses it to sync the user's account.
Redirect is a convenient way to sync accounts for HTML5 games, as it does not require the user to log in to the game separately.