How to Authenticate Your Hytale Server (Device Login) Print

  • hytale authentication, auth persistence, server token, hytale setup, device login
  • 0

Unlike older games, Hytale servers do not just "run" out of the box. To prevent piracy and ensure secure connections, every community server must be authenticated with a valid Hytale/Riot account.

If your console is stuck on [Auth] No server token configured, follow this guide to link your server to your account.

Prerequisites

  • Access to the East Gate Game Panel.

  • A valid Hytale Account (or Riot Account with Hytale access).

  • The server must be in the Running state.

Step 1: Start the Authentication Flow

  1. Log in to your Game Panel.

  2. Navigate to your Hytale server and click Start.

  3. Click on the Console tab.

  4. Wait for the server to finish loading assets. You will eventually see a message saying:

    [Auth] Warning: No server token configured. Use /auth login to authenticate.

Step 2: Generate the Device Code

In the console text box, type the following command and hit Enter: auth login device

The console will generate a unique code block looking like this:

DEVICE AUTHORIZATION
===================================================
Visit: https://accounts.hytale.com/device
Enter code: ABCD-1234
===================================================

Step 3: Approve the Server

  1. Copy the Code (e.g., ABCD-1234) displayed in your console.

  2. Open your web browser and go to https://accounts.hytale.com/device.

  3. Paste the code and click Continue.

  4. Log in with your Hytale/Riot account and click Authorize.

Step 4: Enable Persistence (Important!)

By default, Hytale servers may require re-authentication every time they restart. To prevent this, you need to save your credentials locally.

  1. Go back to your Console. You should see Authentication successful!.

  2. Immediately run this command: auth persistence Encrypted

  3. The server will create a local .token file. Your server will now auto-login on future restarts.

Troubleshooting

  • "Token Expired" Error: The device code is only valid for 10 minutes. If you waited too long, simply run auth login device again to generate a new one.

  • "Invalid Scope": Ensure your Hytale account has a verified email status. Guest accounts cannot host public community servers.

  • Persistence Fails: If the server asks for login again after a restart, check your Startup tab. Ensure the AUTH_MODE variable is set to Authenticated (not Manual).


Was this answer helpful?

« Back

Powered by WHMCompleteSolution