Fix HandleSSOCallback dropping error when Clerk Protect challenge fails
Fixed a bug where HandleSSOCallback was dropping errors when a Clerk Protect challenge failed during SSO callback. Errors are now properly available through useSignIn() and useSignUp(), and failed sign-up challenges correctly navigate to the sign-up page.
Patch Changes
-
Fix
<HandleSSOCallback />dropping the error when a Clerk Protect challenge fails on the SSO callback. The error is now available onerrorsfromuseSignIn()oruseSignUp(), and a failed sign-up challenge callsnavigateToSignUpinstead ofnavigateToSignIn. (#10103) by @wobsoriano -
Updated dependencies [
568c668]:- @clerk/shared@4.39.1
Source: original entry ↗
More from Clerk
Follow Clerk to get its new changes in your feed and email digest.
@clerk/expo-native-components package introduced
A new @clerk/expo-native-components package is now required for native components (AuthView, UserButton, UserProfileView). Install it before deploying over-the-air updates as errors occur at runtime; import native components from @clerk/expo/native-components and deprecate the old @clerk/expo/native import path.
@clerk/expo-native-components 0.1.0
Introduces @clerk/expo-native-components, a new required package for native components (AuthView, UserButton, UserProfileView). Import native components from @clerk/expo/native-components instead of the deprecated @clerk/expo/native, and install the new package before shipping over-the-air updates to avoid runtime errors.
@clerk/ui@1.40.1
Release of @clerk/ui version 1.40.1 with updates and improvements to the UI component library.