Tags: cdinnison/ray-finance
Tags
[BUGFIX] Fix Plaid BYOK setup failures (OAuth, optional products, err… …or display) User-reported issues during `ray link`: 1. OAuth banks (Chase, Capital One) had no `redirect_uri`, so they couldn't return to the app after bank login. Added optional `PLAID_REDIRECT_URI` config + new `/oauth-return` page that re-inits Plaid Link with `receivedRedirectUri`. The link_token + session_id are persisted to localStorage across the redirect. 2. `optional_products: [Investments, Liabilities]` was hardcoded, causing token create to fail for accounts not approved for those products. Now opt-in via `PLAID_OPTIONAL_PRODUCTS=investments,liabilities`. 3. Plaid errors (e.g. INVALID_PRODUCT for accounts not approved for transactions) were swallowed behind a generic "Failed to connect" message. Server now extracts `display_message`, `error_message`, `error_code`, `error_type` from Plaid SDK errors and the UI shows the real message + a code-specific hint pointing to the Plaid dashboard. README: documented PLAID_REDIRECT_URI registration step and PLAID_OPTIONAL_PRODUCTS opt-in. Bump to 0.5.1. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Fix budget upsert conflict key, support removing linked institutions,… … improve billing error handling - Fix set_budget ON CONFLICT to include period column - Extend `ray remove` to list and remove linked bank institutions (not just manual accounts) - Add proper error handling for billing portal endpoint - Bump to v0.3.6 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>