v2 - Viewer Auth

Exchange Token

PUBLIC. Exchange a firebase_custom_token (from register-viewer) for a Firebase ID token + refresh token, SERVER-SIDE — so the browser never calls the referrer-restricted Google Identity Toolkit endpoint directly.

post/v2/auth/exchange-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

firebase_custom_tokenstring required

The firebase_custom_token returned by /v2/auth/register-viewer

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.