Skip to content

feat(ui): Support signUpIfMissing with Clerk <SignIn> component#7928

Draft
dmoerner wants to merge 1 commit intomainfrom
daniel/user-4769-sign-up-if-missing-clerk-components
Draft

feat(ui): Support signUpIfMissing with Clerk <SignIn> component#7928
dmoerner wants to merge 1 commit intomainfrom
daniel/user-4769-sign-up-if-missing-clerk-components

Conversation

@dmoerner
Copy link
Contributor

Description

The <SignIn> component can already be used in a sign-in-or-sign-up flow (CombinedFlow) under certain conditions. When strict enumeration protection is enabled, make that combined flow pass the signUpIfMissing parameter to the backend to allow an enumeration-safe combined flow. Previously, attempting to use a combined flow with strict enumeration protection enabled was silently broken.

Under the hood, the backend treats sign up if missing as an account transfer. We therefore add support for this account transfer logic when handling first factor verification in the combined sign in flow when strict enumeration protection is enabled.

Fixes USER-4769.

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

The `<SignIn>` component can already be used in a sign-in-or-sign-up flow
(`CombinedFlow`) under certain conditions. When strict enumeration
protection is enabled, make that combined flow pass the
`signUpIfMissing` parameter to the backend to allow an enumeration-safe
combined flow. Previously, attempting to use a combined flow with strict
enumeration protection enabled was silently broken.

Under the hood, the backend treats sign up if missing as an account
transfer. We therefore add support for this account transfer logic when
handling first factor verification in the combined sign in flow when
strict enumeration protection is enabled.
@changeset-bot
Copy link

changeset-bot bot commented Feb 25, 2026

🦋 Changeset detected

Latest commit: 84d79f6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 20 packages
Name Type
@clerk/clerk-js Minor
@clerk/shared Minor
@clerk/ui Minor
@clerk/chrome-extension Patch
@clerk/expo Patch
@clerk/agent-toolkit Patch
@clerk/astro Patch
@clerk/backend Patch
@clerk/expo-passkeys Patch
@clerk/express Patch
@clerk/fastify Patch
@clerk/localizations Patch
@clerk/msw Patch
@clerk/nextjs Patch
@clerk/nuxt Patch
@clerk/react-router Patch
@clerk/react Patch
@clerk/tanstack-react-start Patch
@clerk/testing Patch
@clerk/vue Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Feb 25, 2026

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

Project Deployment Actions Updated (UTC)
clerk-js-sandbox Ready Ready Preview, Comment Feb 25, 2026 6:20pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant