megachangelog
Improvement4.37.1

Custom flows with useSignIn/useSignUp now handle Clerk Protect challenges

useSignIn() and useSignUp() custom flows now automatically handle Clerk Protect challenges by displaying them in a modal and returning once the user completes the challenge. SSO challenges appear at HandleSSOCallback, while classic resource methods continue returning protectCheck as before.

Patch Changes

  • Custom flows built with useSignIn() and useSignUp() 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 as clerk.client.signIn.create(), and apps without Clerk's UI loaded, still return with protectCheck set, as before. (#9950) by @wobsoriano
authsecurityhooksssoclerk-protect

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 →