v2 - Viewer Auth

Refresh Token

PUBLIC. Refresh an expiring Firebase ID token SERVER-SIDE via the Secure Token API, keeping all auth same-origin to api.jubjubapp.com (the browser's referrer-restricted key can't call securetoken.googleapis.com either).

post/v2/auth/refresh-token

Request

  • Base URL
    https://api.jubjubapp.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

refresh_tokenstring required

The refresh_token returned by /v2/auth/exchange-token

Response

Successful Response

id_tokenstring required
refresh_tokenstring required
expires_instring required

Changes

No recorded changes to this operation across all 1 revision of this API.