Skip to content

Add member Sumsub source key setup - #1454

Draft
buildwithnidhi wants to merge 1 commit into
mainfrom
feat/sumsub-member-source-key-main
Draft

Add member Sumsub source key setup#1454
buildwithnidhi wants to merge 1 commit into
mainfrom
feat/sumsub-member-source-key-main

Conversation

@buildwithnidhi

Copy link
Copy Markdown
Collaborator

What changed

Recreated the Sumsub member/core duplicate KYC fix on latest main so the PR does not include stale staging commits.

  • Added optional SUMSUB_MEMBER_SOURCE_KEY env var.
  • When KYC starts, Earn checks whether the user is linked to a People record with type member or core.
  • For eligible users only, Earn creates the Sumsub applicant with the configured member source key before issuing the SDK token.
  • Non-members and empty env continue through the existing normal Sumsub flow.
  • Existing Sumsub applicants are left unchanged.

Validation

  • pnpm run lint passed with existing warnings only.
  • pnpm exec prisma validate passed with existing relation-mode warnings only.
  • pnpm run check-types was blocked locally by unrelated src/utils/tokenIconImage.ts sharp module resolution after Prisma generate; no Sumsub files were in the error output.

Replaces the earlier staging-based PR branch that had unrelated stale commits when compared against main.

@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
earn Ready Ready Preview Aug 13, 2026 9:31am

Request Review

@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 2f702f4c-c7cf-4635-8158-75392f77f02c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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