Skip to content

feat(clerk-js,ui): Introduce setup MFA session task#7851

Open
octoper wants to merge 6 commits intorelease/core-2from
port-mfa-prs-to-release-core-2
Open

feat(clerk-js,ui): Introduce setup MFA session task#7851
octoper wants to merge 6 commits intorelease/core-2from
port-mfa-prs-to-release-core-2

Conversation

@octoper
Copy link
Member

@octoper octoper commented Feb 16, 2026

Description

  • Created new UI components for MFA setup, including screens for SMS and TOTP code flows.
  • Integrated MFA setup into session tasks routing and context management.
  • Added tests for the MFA setup task to ensure functionality and user experience.
  • Updated user settings to include MFA requirements and adjusted related helper functions.

Everything in this PR is just port of changes made in the following PRs

#7626
#7760
#7760

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:

@vercel
Copy link

vercel bot commented Feb 16, 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 16, 2026 2:52pm

Request Review

@changeset-bot
Copy link

changeset-bot bot commented Feb 16, 2026

🦋 Changeset detected

Latest commit: 32709a6

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

This PR includes changesets to release 22 packages
Name Type
@clerk/localizations Minor
@clerk/clerk-js Minor
@clerk/nextjs Minor
@clerk/clerk-react Minor
@clerk/shared Minor
@clerk/chrome-extension Patch
@clerk/clerk-expo Patch
@clerk/elements Patch
@clerk/react-router Patch
@clerk/remix Patch
@clerk/tanstack-react-start Patch
@clerk/agent-toolkit Patch
@clerk/astro Patch
@clerk/backend Patch
@clerk/expo-passkeys Patch
@clerk/express Patch
@clerk/fastify Patch
@clerk/nuxt Patch
@clerk/testing Patch
@clerk/themes Patch
@clerk/types 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

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 16, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

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.

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
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch port-mfa-prs-to-release-core-2

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

- Created new UI components for MFA setup, including screens for SMS and TOTP code flows.
- Integrated MFA setup into session tasks routing and context management.
- Added tests for the MFA setup task to ensure functionality and user experience.
- Updated user settings to include MFA requirements and adjusted related helper functions.
@octoper octoper marked this pull request as ready for review February 16, 2026 12:44
@octoper
Copy link
Member Author

octoper commented Feb 16, 2026

!snapshot

@clerk-cookie
Copy link
Collaborator

Hey @octoper - the snapshot version command generated the following package versions:

Package Version
@clerk/agent-toolkit 0.2.23-snapshot.v20260216124703
@clerk/astro 2.17.3-snapshot.v20260216124703
@clerk/backend 2.31.1-snapshot.v20260216124703
@clerk/chrome-extension 2.9.3-snapshot.v20260216124703
@clerk/clerk-js 5.124.0-snapshot.v20260216124703
@clerk/elements 0.24.9-snapshot.v20260216124703
@clerk/clerk-expo 2.19.24-snapshot.v20260216124703
@clerk/expo-passkeys 0.4.35-snapshot.v20260216124703
@clerk/express 1.7.71-snapshot.v20260216124703
@clerk/fastify 2.6.23-snapshot.v20260216124703
@clerk/localizations 3.36.0-snapshot.v20260216124703
@clerk/nextjs 6.38.0-snapshot.v20260216124703
@clerk/nuxt 1.13.21-snapshot.v20260216124703
@clerk/clerk-react 5.61.0-snapshot.v20260216124703
@clerk/react-router 2.4.5-snapshot.v20260216124703
@clerk/remix 4.13.38-snapshot.v20260216124703
@clerk/shared 3.46.0-snapshot.v20260216124703
@clerk/tanstack-react-start 0.29.3-snapshot.v20260216124703
@clerk/testing 1.13.37-snapshot.v20260216124703
@clerk/themes 2.4.53-snapshot.v20260216124703
@clerk/types 4.101.16-snapshot.v20260216124703
@clerk/vue 1.17.14-snapshot.v20260216124703

Tip: Use the snippet copy button below to quickly install the required packages.
@clerk/agent-toolkit

npm i @clerk/agent-toolkit@0.2.23-snapshot.v20260216124703 --save-exact

@clerk/astro

npm i @clerk/astro@2.17.3-snapshot.v20260216124703 --save-exact

@clerk/backend

npm i @clerk/backend@2.31.1-snapshot.v20260216124703 --save-exact

@clerk/chrome-extension

npm i @clerk/chrome-extension@2.9.3-snapshot.v20260216124703 --save-exact

@clerk/clerk-js

npm i @clerk/clerk-js@5.124.0-snapshot.v20260216124703 --save-exact

@clerk/elements

npm i @clerk/elements@0.24.9-snapshot.v20260216124703 --save-exact

@clerk/clerk-expo

npm i @clerk/clerk-expo@2.19.24-snapshot.v20260216124703 --save-exact

@clerk/expo-passkeys

npm i @clerk/expo-passkeys@0.4.35-snapshot.v20260216124703 --save-exact

@clerk/express

npm i @clerk/express@1.7.71-snapshot.v20260216124703 --save-exact

@clerk/fastify

npm i @clerk/fastify@2.6.23-snapshot.v20260216124703 --save-exact

@clerk/localizations

npm i @clerk/localizations@3.36.0-snapshot.v20260216124703 --save-exact

@clerk/nextjs

npm i @clerk/nextjs@6.38.0-snapshot.v20260216124703 --save-exact

@clerk/nuxt

npm i @clerk/nuxt@1.13.21-snapshot.v20260216124703 --save-exact

@clerk/clerk-react

npm i @clerk/clerk-react@5.61.0-snapshot.v20260216124703 --save-exact

@clerk/react-router

npm i @clerk/react-router@2.4.5-snapshot.v20260216124703 --save-exact

@clerk/remix

npm i @clerk/remix@4.13.38-snapshot.v20260216124703 --save-exact

@clerk/shared

npm i @clerk/shared@3.46.0-snapshot.v20260216124703 --save-exact

@clerk/tanstack-react-start

npm i @clerk/tanstack-react-start@0.29.3-snapshot.v20260216124703 --save-exact

@clerk/testing

npm i @clerk/testing@1.13.37-snapshot.v20260216124703 --save-exact

@clerk/themes

npm i @clerk/themes@2.4.53-snapshot.v20260216124703 --save-exact

@clerk/types

npm i @clerk/types@4.101.16-snapshot.v20260216124703 --save-exact

@clerk/vue

npm i @clerk/vue@1.17.14-snapshot.v20260216124703 --save-exact

@octoper octoper closed this Feb 16, 2026
@octoper octoper reopened this Feb 16, 2026
@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 16, 2026

Open in StackBlitz

@clerk/agent-toolkit

npm i https://pkg.pr.new/@clerk/agent-toolkit@7851

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@7851

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@7851

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@7851

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@7851

@clerk/dev-cli

npm i https://pkg.pr.new/@clerk/dev-cli@7851

@clerk/elements

npm i https://pkg.pr.new/@clerk/elements@7851

@clerk/clerk-expo

npm i https://pkg.pr.new/@clerk/clerk-expo@7851

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@7851

@clerk/express

npm i https://pkg.pr.new/@clerk/express@7851

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@7851

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@7851

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@7851

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@7851

@clerk/clerk-react

npm i https://pkg.pr.new/@clerk/clerk-react@7851

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@7851

@clerk/remix

npm i https://pkg.pr.new/@clerk/remix@7851

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@7851

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@7851

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@7851

@clerk/themes

npm i https://pkg.pr.new/@clerk/themes@7851

@clerk/types

npm i https://pkg.pr.new/@clerk/types@7851

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@7851

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@7851

commit: 32709a6

@octoper octoper self-assigned this Feb 16, 2026
@octoper octoper changed the title feat(clerk-js): Implement MFA setup task and related UI components feat(clerk-js,ui): Introduce setup MFA session task Feb 16, 2026
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.

2 participants