megachangelog
Feature4.10.0

Add revokeCurrentDeviceCredential() to useBiometricCredentials()

A new revokeCurrentDeviceCredential() method has been added to useBiometricCredentials() for Expo, allowing you to revoke the device's biometric credential without storing the credential ID from enroll(). Call it before signing out since it requires an active session.

Minor Changes

  • Add revokeCurrentDeviceCredential() to useBiometricCredentials(). It revokes this device's biometric credential for the signed-in user, so you no longer need to store the ID from enroll(). It returns the revoked credential, or null if there is nothing to revoke. Call it before signing out, since it needs a session. (#10143) by @wobsoriano

    import { useBiometricCredentials } from '@clerk/expo/biometrics';
    
    const { revokeCurrentDeviceCredential } = useBiometricCredentials();
    
    await revokeCurrentDeviceCredential();
expobiometricsauthcredentials

Source: original entry ↗

More from Clerk

Follow Clerk to get its new changes in your feed and email digest.

Feature1.40.0

Role mapping step in self-serve Directory Sync setup

Organization admins can now assign organization roles to directory groups during self-serve Directory Sync setup in OrganizationProfile, with ability to configure role priority and toggle role syncing. Members with org:sys_memberships:manage permission can manage role mappings, while the step is read-only for others.

directory-syncorg-rolesuiidentity-provider
Improvement7.9.14

@clerk/nextjs dependency updates

Updated internal dependencies for @clerk/shared, @clerk/react, and @clerk/backend packages to latest patch and minor versions.

nextjsdependenciesmaintenance
Improvement3.6.33

@clerk/react-router@3.6.33

Patch release with updated dependencies for @clerk/shared, @clerk/react, and @clerk/backend.

react-routerdependenciespatch
See all Clerk changes →