POST auth/steam/refresh

Use a Steam refresh token to obtain renewed id and access tokens.

Example

POST /api/v1/auth/steam/refresh HTTP/1.1
Accept: application/json
Content-Type: application/json
Authorization: Bearer ...

{}
----------------------------------------
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 2854
ETag: W/"b26-E2sveLW1Sz4x2l/Va2odtklRGLs"

{
  "newAccount": false,
  "idToken": "eyJra...q0w",
  "accessToken": "eyJhb...Qjg"
}

Security

The refresh token must be passed as a bearer token.

URL Parameters

NONE

Query Parameters

NONE

Request Body

An empty JSON object.

Response

A successful response (code 200) will contain new id and access tokens. Besides the standard error responses, 403 is returned if the refresh token is missing, invalid, expired, or if the session has been revoked server-side.

Response Body

NameDescriptionValue
newAccountalways falseboolean
idTokenthe id JWTstring
accessTokenthe access JWTstring