EMail OTP API endpoint documentation

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
User avatar
moviuro
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu Mar 07, 2019 7:35 pm
Contact:

EMail OTP API endpoint documentation

Post by moviuro »

Hi,

I have a script that can download factorio, which I use to update the game on Linux. This script either uses:
  • the player's token file
  • interactively asks for login+password
When asking interactively for username+password this morning, the code that grabs a token failed because I had to input an email OTP.
https://gitlab.com/moviuro/factorio-dl/-/issues/2

(Downloads using the player's token file works great, no problem on that end)
User avatar
vinzenz
Factorio Staff
Factorio Staff
Posts: 341
Joined: Mon Aug 02, 2021 6:45 pm
Contact:

Re: EMail OTP API endpoint documentation

Post by vinzenz »

This endpoint doesn't support passing the email OTP at the moment, but it's on my todo list. Will also update the wiki docs.
bringing the oops to devops
User avatar
vinzenz
Factorio Staff
Factorio Staff
Posts: 341
Joined: Mon Aug 02, 2021 6:45 pm
Contact:

Re: EMail OTP API endpoint documentation

Post by vinzenz »

moviuro wrote: Thu Jan 06, 2022 10:16 am Hi,

I have a script that can download factorio, which I use to update the game on Linux. This script either uses:
  • the player's token file
  • interactively asks for login+password
When asking interactively for username+password this morning, the code that grabs a token failed because I had to input an email OTP.
https://gitlab.com/moviuro/factorio-dl/-/issues/2

(Downloads using the player's token file works great, no problem on that end)
I've updated the auth endpoint and wiki docs https://wiki.factorio.com/Web_authentication_API
bringing the oops to devops
Post Reply

Return to “Technical Help”