Skip to content

feat(expo): add biometric reverification - #9829

Draft
seanperez29 wants to merge 2 commits into
mainfrom
sean/Biometric-reverification
Draft

seanperez29 wants to merge 2 commits into
mainfrom
sean/Biometric-reverification

Conversation

@seanperez29

Copy link
Copy Markdown
Contributor

Description

Adds useBiometricCredentials().reverify() for first-, second-, and multi-factor verification of active sessions on iOS and Android. The result includes the verification status and synchronized JavaScript session. Completed verification clears cached session tokens and fetches a fresh token without creating another session.

New biometric enrollments default to biometry_current_set, requiring biometrics without device-passcode fallback and invalidating the key when the enrolled biometric set changes. Existing credentials retain their original policies. Android reverification requires biometry_current_set; incompatible credentials return biometric_credential_policy_incompatible so apps can offer another verification method.

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:

Add useBiometricCredentials().reverify() for active sessions on iOS and Android, supporting first-, second-, and multi-factor verification with session synchronization and token refresh.

Default new biometric enrollments to biometry_current_set while preserving existing credential policies.

Support local native SDK overrides and add reverification tests and documentation.
@changeset-bot

changeset-bot Bot commented Sep 18, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: cfb5190

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

This PR includes changesets to release 1 package
Name Type
@clerk/expo Minor

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

vercel Bot commented Sep 18, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
clerk-js-sandbox Ready Ready Preview Sep 18, 2026 7:30pm UTC
swingset Ready Ready Preview Sep 18, 2026 7:30pm UTC

Request Review

@coderabbitai

coderabbitai Bot commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

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

@pkg-pr-new

pkg-pr-new Bot commented Sep 18, 2026

Copy link
Copy Markdown

Open in StackBlitz

@clerk/astro

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

@clerk/backend

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

@clerk/chrome-extension

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

@clerk/clerk-js

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

@clerk/electron

npm i https://pkg.pr.new/@clerk/electron@9829

@clerk/electron-passkeys

npm i https://pkg.pr.new/@clerk/electron-passkeys@9829

@clerk/eslint-plugin

npm i https://pkg.pr.new/@clerk/eslint-plugin@9829

@clerk/expo

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

@clerk/expo-google-signin

npm i https://pkg.pr.new/@clerk/expo-google-signin@9829

@clerk/expo-passkeys

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

@clerk/express

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

@clerk/fastify

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

@clerk/hono

npm i https://pkg.pr.new/@clerk/hono@9829

@clerk/localizations

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

@clerk/mosaic

npm i https://pkg.pr.new/@clerk/mosaic@9829

@clerk/nextjs

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

@clerk/nuxt

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

@clerk/react

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

@clerk/react-router

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

@clerk/shared

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

@clerk/tanstack-react-start

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

@clerk/testing

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

@clerk/ui

npm i https://pkg.pr.new/@clerk/ui@9829

@clerk/upgrade

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

@clerk/vue

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

commit: cfb5190

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant