Skip to content
Back to Homepage

How do I authorize my Hytale server?

How to Authorize Your Hytale Server (AleForge, Self-Hosting & Other Hosts)

Section titled “How to Authorize Your Hytale Server (AleForge, Self-Hosting & Other Hosts)”

Before your Hytale server can download the files it needs and let players join, it has to be authorized with your Hytale account. It only takes a minute: the server gives you a short code, you approve it in your browser, and you’re done.

This guide shows you how to do it on your AleForge server, and also covers self-hosting and other providers.

Quick version: Start your server, run /auth login device in the Console, open the link it prints, enter the code and click Approve. When the Console says Authentication successful!, you’re done.


  1. Log in to the AleForge Panel and select your Hytale server.
  2. Open the Console page.

Click the Start button. As the server boots, you may see a warning in the Console telling you that no server tokens are configured and to authenticate. That’s normal, and it just means the server hasn’t been authorized yet.

If the Console doesn’t print a code on its own, type this command in the command box at the bottom of the Console and press Enter:

/auth login device

If your console doesn’t accept the leading slash, type it without: auth login device.

The server starts a device login and prints a block of text like this:

  • A website link to visit
  • A short authorization code
  • A direct link that already includes your code
  • A note that the code expires in 600 seconds (10 minutes)

The AleForge Console showing the Hytale device authorization link and code

Tip: auth login has two options, device and browser. On a hosted server, always use device. The browser option needs a web browser on the same machine as the server.

Copy the authorization code from the Console. If you’d like to skip typing it, use the direct link marked “Or visit” instead. It opens the Hytale page with your code already filled in.

Open the Hytale device verification page and sign in with your Hytale account.

Paste the authorization code you copied and continue. Entering the authorization code on the Hytale device verification page

When Hytale asks for permission to access your account, click Approve. Approving the server authorization request on Hytale

Go back to the Console. Within a few seconds of approving, you should see messages confirming that your server signed in, ending with a green “Authentication successful!” line.

The AleForge Console showing Authentication successful after authorizing a Hytale server

Here is what those messages mean:

  • Found game profile: The server found the Hytale profile on your account and selected it.
  • Successfully created game session: Your server is now connected to Hytale’s online services.
  • Token refresh scheduled: The server renews its sign-in automatically, so you don’t need to do anything.
  • Authentication successful: You’re authorized. The Console also confirms that your credentials were saved in encrypted form.

To check your sign-in at any time, type /auth status in the Console.

Your server will now begin downloading the files it needs. This can take a few minutes, and your server will be ready to join when it finishes starting up.


The process is the same wherever your server runs.

  1. Start your server and open its console.
  2. Run /auth login device if the server doesn’t print a code on its own.
  3. Copy the authorization code.
  4. Sign in at the Hytale device verification page.
  5. Paste the code you copied.
  6. When Hytale asks for permission to access your account, click Approve.
  7. Check the console for a green Authentication successful! message. You can run /auth status at any time to check your sign-in.

Entering the authorization code on the Hytale device verification page

Approving the server authorization request on Hytale

If you’re setting up a server on your own PC, our full walkthrough is here: How to Host a Hytale Dedicated Server (Easy Guide).


  • Only approve codes you started. Authorizing gives a server access to your Hytale account. Never enter or approve a code that someone else sends you.
  • Don’t share your code. Codes expire quickly, but treat them like a password and keep screenshots of the Console private until they’ve expired.
  • Check the address. Make sure you’re on the official Hytale sign-in page before you enter your details.
  • Blur your screenshots. The Console shows your Hytale profile name and ID after you sign in, so hide them before you post a screenshot publicly.

  • “No server tokens configured” warning: This appears before you authorize. Run /auth login device and complete the steps above, and it will go away.
  • “Command not found: browser”: Use /auth login device instead. The browser option isn’t available on hosted servers.
  • The code expired: Codes last 10 minutes. Run /auth login device again to get a new code.
  • Nothing happens after approving: Check the Console for new messages, and give the server a few minutes to download its files.
  • You signed in to the wrong account: Run the command again and sign in with the account that owns Hytale.
  • Not sure it worked: Run /auth status in the Console to check your sign-in. If you’re asked to authorize again later, for example after a game update, repeat the same steps. Hytale is still in Early Access.
  • Still stuck? Contact AleForge support 24/7 through a ticket, live chat or the community Discord.

Why does my Hytale server need to be authorized?

Section titled “Why does my Hytale server need to be authorized?”

Hytale requires a server to sign in with a valid Hytale account before it can download its files and let players connect.

What command do I use to authorize my server?

Section titled “What command do I use to authorize my server?”

Use /auth login device in the server console. It prints a link and a code that you approve in your browser.

10 minutes (600 seconds). If it expires, run the command again to get a new one.

Yes. The server signs in with a Hytale account.

It’s safe when you started the request yourself. Never approve a code someone else gave you.


AleForge’s Hytale server hosting gives you an always-online world with a simple control panel, backups, DDoS protection and 24/7 support, with no port forwarding needed.

Get your Hytale server at aleforge.net →