Skip to content

Conversation

@phoenixy1
Copy link
Contributor

update quickstart to support new user apis

phoenixy1 and others added 9 commits December 16, 2025 17:38
Updates the Node.js quickstart to support the new user creation flow:
- Default to sending identity object with proper schema (name, emails, phone_numbers, addresses)
- Auto-retry with consumer_report_user_identity on INVALID_FIELD error
- Track both user_id and user_token from responses
- Use user_token when available (from consumer_report_user_identity), otherwise user_id
- Remove user.client_user_id when passing user_id/user_token to link token creation
- Update CRA endpoints to use correct identifier (user_token or user_id)
- Income endpoints always use user_token as required
- Upgrade plaid library to v40.0.0

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Updated all backend implementations (Python, Node.js, Go, Java, Ruby) to support both old-style (user_token) and new-style (user_id) CRA user integrations. Each backend now tries the Identity field first, then falls back to ConsumerReportUserIdentity if that fails. All CRA endpoints (base_report, income_insights, partner_insights) handle both user_token and user_id parameters. Frontend updated to display both user_token and user_id when available.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Add null checks for Java error body reading to prevent NullPointerException
- Fix Java and Ruby to only retry on INVALID_FIELD errors, not all errors
- Fix duplicate client_user_id generation: now reuses same ID on retry across all backends
- Remove superfluous comments for cleaner, self-documenting code

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Changed all instances of itemID to itemId to follow Java camelCase convention consistently with other variables like userId, accessToken, etc.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
The compiled go/server binary (22MB) should not be tracked in git.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Node.js: 40.0.0 → 41.0.0
- Python: 37.1.0 → 38.0.0
- Go: 40.1.0 → 41.0.0 (updated import path from v40 to v41)
- Java: 38.1.0 → 39.0.0
- Ruby: 44.1.0 → 45.0.0

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@phoenixy1 phoenixy1 requested a review from ehiroshige December 19, 2025 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants