Skip to main content

Sky Mavis Account

Deprecation notice

The documentation for the Sky Mavis Account service will be deprecated soon. For new integrations, refer to the Ronin Waypoint service.

Overview

Sky Mavis Account is an OAuth 2.0 service that lets users sign in to your game or app with a passwordless flow, similar to other social login methods, for a seamless onboarding experience. It provides a single account for all games and apps in the Ronin ecosystem.

Features

  • One account for all games and apps: while removing the burden of managing too many accounts, Sky Mavis Account lets your users connect other entities, such as Ronin Wallet or Axie Infinity Marketplace.
  • Improved onboarding experience: Sky Mavis Account brings users to your apps faster by providing common social sign-in methods without having to go through complicated Web3 concepts at the early stage.
  • Trusted sign-in provider: Sky Mavis Account is already implemented as a sign-in provider in dApps and games within the Sky Mavis ecosystem, such as Axie Infinity Origins, Axie Infinity Marketplace, or Mavis Hub.

Use cases

Sign-in with Sky Mavis Account

Sky Mavis Account allows users to sign in to your app conveniently with a passwordless flow, similar to other social login methods.

If you're a game studio that wants to publish a game on Mavis Hub, then you need to integrate with Sky Mavis Account so that users can access your game on their desktop devices. If your game supports multiple platforms like iOS and Android, then the Sky Mavis Account service provides you with the same user ID that the user used to play on Mavis Hub.

It might be the case that your game or app doesn't solely distribute on the Sky Mavis publishing platform. With a Sky Mavis Account, your user can sign in with the same account to inherit the same in-game progress, using the same user ID and information across different platforms and devices.

The following sections describe some scenarios where you can implement Sky Mavis Account as a sign-in method for your users.

Sign-in on Mavis Hub

If you want to onboard your game to Mavis Hub, you must implement Sky Mavis Account to allow your users to access the game on their desktop devices.

When your game is available on Mavis Hub, it receives a token from Mavis Hub. Using the token, the game can make a request to the Sky Mavis Account server directly, and exclusively for this game. To access the game, the user only needs to sign in to Mavis Hub once.

If your game supports multiple operating systems such as iOS and Android, Sky Mavis Account provides you with the same user ID that the player used to interact with the game on Mavis Hub.

Sign-in on the web or mobile

If your game is published as a standalone app or on mobile app stores, or, you can integrate Sky Mavis Account as a sign-in method and authenticate users via an OpenID Connect (OIDC) flow.

If the user already has an account in your game, Sky Mavis Account provides you with a flow to link the user's Sky Mavis Account with their account in your game.

This use case offers two implementation scenarios described in the following sections.

Your app can retrieve a user ID when the user has signed in to your game. This ID represents the unique user ID of the Sky Mavis Account. The third-party backend account system can automatically and implicitly create a user account without needing the user to sign in with any other method.

Sky Mavis Account supports the OpenID 2.0 specification so that games can allow users to safely sign in to their account from within the game and retrieve their user ID by opening a web browser.

The following diagram illustrates the flow of linking a user's Sky Mavis Account:

The game creates a user in its account system and binds with Sky Mavis Account user ID
The system binds Mavis Account user ID with the in-game user ID
Account linking is complete
Player
The game receives the player's Sky Mavis Account user ID
The system implicitly creates a new user in the game's account system
Start the game
on Mavis Hub
Start the game
using the
standalone app
Sign in with
Sky Mavis
Account
Sign in using
the in-game
account
Link the
Sky Mavis Account
and in-game account
in the browser

Next steps

Follow the steps in the Get started guide to prepare your game or dApp for Sky Mavis Account integration.