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
Security & Secret Vault

Anthropic api proxy for flutterflow chat app

Mirrors OpenAI pattern: Messages API with Anthropic key injected at edge. For "anthropic api proxy for flutterflow chat app", store ANTHROPIC_API_KEY in Secret Vault, call https://api.anthropic.com/v1/messages from a Worker, and let FlutterFlow hit only https://realcomposer.com/v1/workspace/anthropic-api-proxy-flutterflow with an rc_live_ client token. POST upstream calls are not stored in caches.default; clients must send JSON bodies and headers forward unchanged.

Sub-10ms edgeView Recipe
Platforms & Frameworks

Fix cors error mailchimp api call flutterflow

Same pattern as Stripe FlutterFlow: edge URL bypasses CORS. For "fix cors error mailchimp api call flutterflow", store MAILCHIMP_BASIC_AUTH in Secret Vault, call https://{{secrets.MAILCHIMP_DC}}.api.mailchimp.com/3.0/lists/{{query.listId}}/members?count=10 from a Worker, and let FlutterFlow hit only https://realcomposer.com/v1/workspace/fix-cors-error-mailchimp-flutterflow with an rc_live_ client token.

Sub-10ms edgeView Recipe
Security & Secret Vault

Paddle api proxy for flutter mobile subscriptions

Paddle customer and subscription fetches without APK secret scanning risk. For "paddle api proxy for flutter mobile subscriptions", store PADDLE_API_KEY in Secret Vault, call https://api.paddle.com/subscriptions/{{query.subscriptionId}} from a Worker, and let FlutterFlow hit only https://realcomposer.com/v1/workspace/paddle-api-proxy-flutter with an rc_live_ client token.

Sub-10ms edgeView Recipe

Related Concepts