Supabase alternative for firebase auth proxy edge
Tutorial-style mobile auth plus profile stack
Documents composed Firebase and Supabase pipeline clone path. For "supabase alternative for firebase auth proxy edge", store FIREBASE_ACCESS_TOKEN, SUPABASE_SERVICE_ROLE_KEY in Secret Vault, call https://firestore.googleapis.com/v1/projects/{{query.projectId}}/databases/(default)/documents/{{query.collection}}/{{query.docId}} from a Worker, and let FlutterFlow hit only https://realcomposer.com/v1/workspace/firebase-auth-supabase-profile-edge-tutorial with an rc_live_ client token.
FlutterFlow cannot attach secret headers to Firebase and Supabase
FlutterFlow runs in the browser or a sandbox without a secret store. Firebase and Supabase rejects unsigned browser origins or requires server-only headers.
- Proxy hacks that break when vendors tighten CSP
- Zapier-only workarounds adding cost and latency
- Guest users seeing failed network requests in demos
How RealComposer Solves This at the Edge
Bind vault keys to the Worker
Store FIREBASE_ACCESS_TOKEN, SUPABASE_SERVICE_ROLE_KEY in the vault. FlutterFlow never embeds the raw secret, only a revocable rc_live_ client token.
Target the real upstream URL
Configure headersTemplate to inject vault secrets, target https://firestore.googleapis.com/v1/projects/{{query.projectId}}/databases/(default)/documents/{{query.collection}}/{{query.docId}}, and Add output mapping fields that mirror the JSON contract your screen already expects.
Wire the FlutterFlow API Call
Call https://realcomposer.com/v1/workspace/firebase-auth-supabase-profile-edge-tutorial with a restricted rc_live_ client token. FlutterFlow never sends upstream secrets.
// FlutterFlow API Call
URL: https://realcomposer.com/v1/workspace/firebase-auth-supabase-profile-edge-tutorial
Header Authorization: Bearer rc_live_your_token
{
"requestId": "req_firebase",
"upstreamLatencyMs": 142,
"audit": {
"region": "edge",
"trace": "firebase-auth-supabase-profile-edge-tutorial"
},
"payload": {
"id": "sample_id",
"status": "active",
"nested": {
"tags": [
"demo"
],
"internal": true
},
"unused_blob": {
"foo": "bar",
"bar": "baz"
}
}
}
{
"firebase_docName": "sample",
"firebase_fields": "sample",
"supabase_rowId": "sample",
"supabase_email": "sample"
}
Recipe Specs
- HTTP method
- GET
- Upstream calls
- 2
- Edge cache TTL
- No caching
- Client auth
- Restricted client token
- Mapped output fields
- 4
- Payload
- 263 B to 108 B (-59%)
curl -X GET "https://realcomposer.com/v1/workspace/firebase-auth-supabase-profile-edge-tutorial" \ -H "Authorization: Bearer rc_live_client_token"
Developer Questions & Troubleshooting
Is it safe to log Firebase responses in FlutterFlow?
Point FlutterFlow at /recipes/firebase-auth-supabase-profile-edge-tutorial edge URL. RealComposer answers OPTIONS with Access-Control headers for allowed origins.
Will Anthropic or Linear prompt bodies be rewritten?
firebase-auth-supabase-profile-edge-tutorial keeps cache TTL at 0 because it uses POST upstream calls or per-user responses. Add ids to query strings before enabling GET cache.
How do I rotate upstream credentials?
Rotate vault secrets for firebase-auth-supabase-profile-edge-tutorial anytime; clients keep the same rc_live_ token.
Sources & Definitions Used in This Answer
Deploy this FlutterFlow + Firebase, Supabase Recipe
Clone this pre-configured pipeline into your RealComposer workspace in one click. We pre-populate upstream URLs, headers, and mapping rules.