/auth » Generate a JWT for a SteamID64
/auth
Example response:
{ "ok": true, "jwt": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdGVh ..." }
Example unsigned JWT object:
const userInfo = { steamid64: "76561197960287930", steamid: "STEAM_0:0:11101", }
/status » Route to check whether the API is available.
/status
{ "ok": true }
/validate » Validate a previously generated JWT
/validate
{ "ok": true, "valid": true, "decoded": { "steamid64": "76561197960287930", "steamid": "STEAM_0:0:11101", "iat": 1641883665, "exp": 1641886365 } }
There was an error while loading. Please reload this page.