---
title: "Firebase Config"
method: GET
path: "/v2/auth/firebase-config"
tags: ["v2 - Viewer Auth"]
---

# Firebase Config

`GET /v2/auth/firebase-config`

## Request

- Base URL: `https://api.jubjubapp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jubjubapp.com/v2/auth/firebase-config`
- Auth: HTTP bearer

PUBLIC. Client-safe Firebase Web config so the static mini-app can init
the Firebase JS SDK and sign in CLIENT-SIDE (the web apiKey is HTTP-referrer
-restricted; these are the NEXT_PUBLIC_* values, safe to expose). Reads the
same env the OAuth consent page uses (FIREBASE_WEB_*), falling back to
NEXT_PUBLIC_FIREBASE_* / PROJECT_ID so it works regardless of which naming
the Secret Manager mount uses.

## Response `200`

Successful Response

- FirebaseConfigResponse
  - `apiKey` string, required
  - `authDomain` string, required
  - `projectId` string, required

---

[API](https://skmtc.dev/jubjubapp/apis/jubjub-api.md) - [All operations](https://skmtc.dev/jubjubapp/apis/jubjub-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jubjubapp/apis/jubjub-api/revisions/353157b296f2?raw)
