oauth

Exchange Firebase Token

Consent granted: verify the Firebase session and mint an auth code.

Returns the callback URL for the consent screen to navigate to, rather than a 302 — the screen calls this with fetch, which cannot usefully follow a cross-origin redirect to the partner's callback.

post/v1/oauth/exchange_firebase_token

Request

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

Request body application/x-www-form-urlencoded

firebase_tokenstring required
client_idstring required
redirect_uristring required
statestring required
scopestring nullable
code_challengestring nullable
code_challenge_methodstring nullable

Response

Successful Response

redirect_urlstring required

Fully-built callback URL including code and state.

Changes

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