Page 1 of 1

[2.1.7] Cannot login using in-game GUI

Posted: Tue Jun 23, 2026 4:06 pm
by theotherspica
When logging into the game using a username + token, the game fails to authenticate. When manually entering the token in player-data.json it works properly. I tried several times to enter the token, both using copy-paste as well as manually typing it. Problem persists in both cases.
OS: Linux
Purchased from: Steam
Factorio version: 2.1.7 with expansion. Standalone version downloaded from website.

factorio-current.log (when logging in from in-game GUI):

Code: Select all

[---snip---]
   9.719 Factorio initialised
   9.722 Info AuthServerConnector.cpp:620: Performing TLS check.
   9.722 Info HttpSharedState.cpp:57: Downloading https://auth.factorio.com/tls-check/success
  10.222 Info AuthServerConnector.cpp:653: TLS check success.
  26.932 Info HttpSharedState.cpp:57: Downloading https://auth.factorio.com/api-login?api_version=6
  27.425 Info AuthServerConnector.cpp:70: Auth server returned error: {"data":{},"error":"login-failed","message":"Given username or email and password do not match any account"}

  45.752 Quitting: user-quit.
  45.980 Goodbye
factorio-previous.log (when setting "service-token" in "player-data.json"):

Code: Select all

[---snip---]
  10.338 Factorio initialised
  10.340 Info AuthServerConnector.cpp:620: Performing TLS check.
  10.340 Info HttpSharedState.cpp:57: Downloading https://auth.factorio.com/tls-check/success
  10.984 Info AuthServerConnector.cpp:653: TLS check success.
  10.984 Info HttpSharedState.cpp:57: Downloading https://updater.factorio.com/updater/get-available-versions?username=<private>&token=<private>&apiVersion=2
  11.901 0 packages available to download (experimental updates enabled).
  31.357 Quitting: user-quit.
  31.614 Goodbye

Re: [2.1.7] Cannot login using in-game GUI

Posted: Tue Jun 23, 2026 5:19 pm
by raiguard
You say you're logging in with username + token. The in-game GUI needs your account password, not your internal token. Please make sure you're using your password.

Re: [2.1.7] Cannot login using in-game GUI

Posted: Tue Jun 23, 2026 6:50 pm
by theotherspica
I purchased the game via Steam, and I login to factorio.com using Steam OAuth. So, my account does not have any password set. A blank password also doesn't successfully login.
Unfortunately I don't remember how I logged in successfully the first time ~3 years ago. If it helps, I used to launch the game via Steam; now I use the standalone version. My best guess as to what happened is that I migrated the player-data.json from my old Steam install to the new one and have now forgotten that I did, so the token is still being used. Though that does mean that the game has no way of manually authenticating via Steam OAuth without a factorio.com password.

Feel free to close the bug report. I'll just use the workaround of manually editing player-data.json; I don't want to create a password.

Re: [2.1.7] Cannot login using in-game GUI

Posted: Tue Jun 23, 2026 7:10 pm
by raiguard
Fascinating edge case! If you don't want to create a password, then yeah, the only way will be continuing to enter your token in the player-data.json file. The standalone version of the game is entirely divorced from steam so it can't sign in with steam oauth.

Moving to technical help.