RealComposer
Upstream APIsOfficial Plaid docs

Plaid Safe & Unsafe Practices

Direct Answer

Plaid client IDs, secrets, and item access tokens are server-only. Your server creates a short-lived link_token for Plaid Link, the client returns a public_token, and the server exchanges it for an access_token that is stored encrypted and never sent back to the app.

Credentials & Where They Belong

Client safe
link_token

Short-lived token created by your server to open Plaid Link.

Client safe
public_token

One-time token returned by Link. Expires quickly and must be exchanged server-side.

Server only
client_id and secret

Authenticate every Plaid API call.

Server only
access_token

Long-lived access to a user bank connection. Treat like a password.

Safe Practices

  • Exchange public tokens on the server

    Call /item/public_token/exchange from your backend and store the resulting access_token encrypted at rest.

  • Return only derived data to the app

    Send balances or a verified flag to the client, not raw account and routing numbers.

  • Verify Plaid webhooks

    Validate the Plaid-Verification JWT before acting on item or transaction webhooks.

Unsafe Practices

  • Storing access tokens in the mobile app

    Anyone who extracts the token can read the linked account until it is revoked.

  • Embedding client_id and secret in a client build

    This lets attackers create link tokens and exchange items under your account.

  • Logging full transaction or auth responses

    Account numbers and transaction history are sensitive financial data.

The RealComposer Pattern

Store PLAID_CLIENT_ID and PLAID_SECRET in the vault and run link token creation and data reads as edge pipelines. The app only ever handles link and public tokens, and the slimmer strips account numbers from responses.

START BUILDING FREE

Frequently Asked Questions

Q:Can I call Plaid directly from a React Native app?

Only Plaid Link runs in the app. Every API call that needs client_id, secret, or access_token must go through a server or edge proxy.

Combine salesforce with plaid financial data

Salesforce household and Plaid balances in one regulated edge response. For "combine salesforce with plaid financial data", store SALESFORCE_ACCESS_TOKEN, PLAID_SECRET in Secret Vault, call https://{{secrets.SALESFORCE_INSTANCE}}.my.salesforce.com/services/data/v68.0/sobjects/Contact/{{query.contactId}} from a Worker, and let Mobile App (iOS & Android) hit only https://realcomposer.com/v1/workspace/combine-salesforce-with-plaid-accounts 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

Related Concepts