@clerk/ui@1.38.0: useSignIn/useSignUp handle Clerk Protect challenges automatically
Custom flows built with useSignIn() and useSignUp() now automatically handle Clerk Protect challenges, displaying them in a modal and resuming after user completion. Sign-in and sign-up methods return directly without requiring manual challenge handling.
Minor Changes
- Custom flows built with
useSignIn()anduseSignUp()now handle Clerk Protect challenges for you. When a sign-in or sign-up method gets a challenge, Clerk shows it in a modal and the method returns once the user passes it. For SSO, the challenge appears when the user comes back to<HandleSSOCallback />. Classic resource methods such asclerk.client.signIn.create(), and apps without Clerk's UI loaded, still return withprotectCheckset, as before. (#9950) by @wobsoriano
Patch Changes
-
The Solana wallet picker downloads about 2 KB instead of about 306 KB, and installing
@clerk/uior@clerk/clerk-jsno longer pulls in React Native, Metro, and@solana/web3.js. The picker now lists only wallets that can complete Sign in with Solana, so the Mobile Wallet Adapter option that appeared on Android Chrome is gone. (#9994) by @manovotny -
Updated dependencies [
c8eb8d5]:- @clerk/shared@4.37.1
- @clerk/localizations@4.21.1
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.