megachangelog
Improvement6.17.4

useSignIn() and useSignUp() now handle Clerk Protect challenges

Custom flows using useSignIn() and useSignUp() now automatically handle Clerk Protect challenges by displaying them in a modal and returning once the user passes verification. For SSO flows, challenges appear when the user returns to HandleSSOCallback. Classic resource methods and apps without Clerk UI continue to return with 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

  • Updated dependencies [c8eb8d5]:

    • @clerk/shared@4.37.1
authreactprotectionssosignin

Source: original entry ↗

More from Clerk

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

Improvement1.17.26

@clerk/vue 1.17.26

Updated @clerk/types dependency to version 4.101.28.

vuedependenciespatch
Improvement1.13.34

@clerk/nuxt@1.13.34

Updated internal dependencies for @clerk/types, @clerk/backend, and @clerk/vue to latest patch versions.

nuxtdependenciespatch
Improvement1.14.11

@clerk/testing dependencies updated

Updated @clerk/types to 4.101.28 and @clerk/backend to 2.33.8 to ensure compatibility and include latest improvements.

dependenciestestingpatch
See all Clerk changes →