Multiplayer authentication API

From Official Factorio Wiki
Revision as of 21:43, 18 October 2024 by Xiretza (talk | contribs) (Created page with "<div align="center" class="stub">'''Category:''' Internal API</div> The multiplayer authentication API allows multiplayer servers (be they dedicated headless servers or games hosted from within a client) to verify that a connecting user is who they claim to be. An overview of the API architecture is given in [https://www.factorio.com/blog/post/fff-139 FFF-139]. All endpoints are...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Category: Internal API

The multiplayer authentication API allows multiplayer servers (be they dedicated headless servers or games hosted from within a client) to verify that a connecting user is who they claim to be.

An overview of the API architecture is given in FFF-139.

All endpoints are relative to the https://auth.factorio.com/ URL.

API endpoints

/generate-server-padlock-2

Request

Query parameters
Key Description
api_version always set to 6 by clients

Response

JSON body
Key Type Description
server_padlock string Opaque random string
server_hash string Opaque identifier generated from the server_padlock and a secret internal to the auth server