RealComposer

FlutterFlow Safe & Unsafe Practices

Direct Answer

FlutterFlow API calls run inside the compiled app by default, so headers and keys in API call definitions ship to every device. Mark sensitive calls private so they run on a backend, or call an edge proxy, and use Supabase or Firebase only with row-level rules.

Credentials & Where They Belong

Client safe
Values in API call headers

Compiled into the app unless the call is made private.

Server only
Upstream secret keys

Use private calls or an edge proxy.

Safe Practices

  • Make sensitive API calls private

    Private calls run through a cloud function so secret headers stay off the device.

  • Use backend rules with Supabase and Firebase

    Enable RLS or Security Rules since the app talks to them directly.

Unsafe Practices

  • Pasting secret keys into API call headers

    They are compiled into the app and extractable from the binary or web build.

  • Storing keys in App Constants or App State

    Both ship to the client.

The RealComposer Pattern

Point FlutterFlow API calls at a RealComposer edge URL with a client token. Secrets stay in the vault and responses are slimmed to the fields your widgets bind.

START BUILDING FREE

Frequently Asked Questions

Q:Can I put a Stripe secret key in a FlutterFlow API call?

No. Use a private call or an edge proxy. Only the publishable key belongs in the app.

FlutterFlow Recipes

Security & Secret Vault

How to Call Stripe API from FlutterFlow Securely Without Exposing Secret Key

To call the Stripe API from FlutterFlow securely, never place your Stripe Secret Key (sk_live_...) inside FlutterFlow API call headers or variables. Instead, store your secret in RealComposer Secret Vault and make your FlutterFlow API call to RealComposer edge URL with a restricted client token. RealComposer automatically injects your Stripe Secret Key server-side on Cloudflare Workers, keeping your key 100% invisible to client decompilation.

Sub-10ms edgeView Recipe
Platforms & Frameworks

How to Fix CORS Error in Flutterflow API Call

To solve how to fix cors error in flutterflow api call, never execute unauthenticated requests or embed private tokens directly in client bundles. RealComposer acts as a sub-10ms edge gateway running on Cloudflare Workers that securely injects credentials from your Secret Vault, normalizes responses, and prevents unauthorized API usage. Route calls through your RealComposer edge URL to guarantee complete privacy, robust origin validation, and low mobile latency.

Sub-10ms edgeView Recipe

Related Concepts