Auth

Firebase Exchange

Verify a Firebase ID token, upsert the user, mint AfricaDB JWTs.

Response shape matches /auth/login exactly so the frontend can treat this as a drop-in alternative code path.

post/api/v1/auth/firebase-exchange

Request

  • Base URL: https://api.africadb.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.africadb.com/api/v1/auth/firebase-exchange
  • Auth: none declared

Request body

id_tokenstring required

Firebase ID token obtained client-side via signInWithPopup (google.com provider) or one of the phone/apple flows.

Response

Successful Response

unknown required

Changes

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