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()touseBiometricCredentials(). It revokes this device's biometric credential for the signed-in user, so you no longer need to store the ID fromenroll(). It returns the revoked credential, ornullif there is nothing to revoke. Call it before signing out, since it needs a session. (#10143) by @wobsorianoimport { useBiometricCredentials } from '@clerk/expo/biometrics'; const { revokeCurrentDeviceCredential } = useBiometricCredentials(); await revokeCurrentDeviceCredential();
Source: original entry ↗
More from Clerk
Follow Clerk to get its new changes in your feed and email digest.
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.
@clerk/nextjs dependency updates
Updated internal dependencies for @clerk/shared, @clerk/react, and @clerk/backend packages to latest patch and minor versions.
@clerk/react-router@3.6.33
Patch release with updated dependencies for @clerk/shared, @clerk/react, and @clerk/backend.