> ## Documentation Index
> Fetch the complete documentation index at: https://docs.appcharge.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Set Up Game Redirect Login

To enable Game Redirect Login for your web store:

1. Create a deeplink in the following format to redirect players from your game back to the web store:
   `https://your-web-store/login?proofKey=<value>&token=<value>`, where:
   * `proofKey`: The player code.
   * `token`: The access token.
2. Create an API endpoint that follows the [Initiate Game Auth Callback](https://docs.appcharge.com/../../api-reference/webstore/player-authentication/initiate-game-auth-callback) format.
3. In the Publisher Dashboard:
   * Go to **Settings → Authentication**.
   * Scroll to the **OTP** section and toggle it on.
   * In the **Initiate Game Auth Callback** field, enter the API URL you created.
   * Use the **Desktop Text Model** dropdown to choose how many digits your player code will have (4 or 6).
     > [!NOTE]
     >
     > This setting applies to both the Game Redirect Login and [Pre-Authenticated Login](https://docs.appcharge.com/guides/webstore/player-authentication/pre-authenticated-login/about-pre-authenticated-login.md) methods. If you plan to implement both methods, you must use the same number of digits for your player code across both.
