Implement Pre-Authenticated Login to enable players to log in to the web store from the game, already authenticated. This is especially useful for deep-linking or promoting in-game offers, as it avoids requiring the player to re-authenticate. To enable this authentication method, follow the instructions to set up Pre-Authenticated Login.

Pre-Authenticated Login flow

Here’s how the Pre-Authenticated Login process works:
  1. A player opens a link to your web store from your game.
  2. The player is sent to the web store via the URL you created, containing the player code and access token.
  3. Appcharge extracts the player code and access token from the URL and sends it as part of the request to your Authenticate Player API for validation.
  4. If the credentials are valid, your server responds with the player’s details. Appcharge successfully logs the player in, completing the flow.