mcp
mcp_oauth

Exchange Firebase Token

Exchange a Firebase ID token for an OAuth authorization code.

Called by the LinktoDM frontend after the user has authenticated with Firebase. Verifies the Firebase token, creates a short-lived auth code, and redirects to the MCP client's redirect_uri with ?code=...&state=...

post/v1/mcp/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
code_challengestring required
code_challenge_methodstring

Response

Successful Response

unknown required

Changes

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