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
- Does the https://auth.factorio.com/api-login endpoint support receiving the email OTP too?
- Can someone please update https://wiki.factorio.com/Web_authentication_API with updates? Either the endpoint supports another (as yet) unknown parameter (the email OTP) or it doesn't, and that should also be written there.
(Downloads using the player's token file works great, no problem on that end)