Overview

Player Authentication API

Note: Configure Player Authentication via the Player Authentication Webhook in the API reference page.

  1. The player chooses an auth method (FB, Apple ID, Google ID, etc.) and authenticates themselves. Appcharge uses the provided App ID (FB), clientId (Apple), and client_id (Google), etc., on its frontend to get the client token. We also support internal user token, user name, and password authentications.
  2. Appcharge supports FB, Google, and Apple logins with both response type codes and id_token functionalities.
    Note that Appcharge uses, by default, the response type code for Apple login. In order to use id_token, please let us know.
  3. The webhook URL is configured in Appcharge’s management dashboard.
  4. The App ID per auth method is configured in the dashboard.
  5. The auth details are sent to the game server.
  6. A response is returned containing the following player details:
    1. Valid player or not.
    2. Publisher Player Id.
    3. Player Name.
    4. External Profile Picture.
      v.List of currencies and their balance.
  7. Reference to FB, Apple, and Google Auth documentation:
    1. FB FE, FB BE.
    2. Apple.
    3. Google.

📘

For Password-less (OTP) player authentication method please visit: OTP Authentication