megachangelog
Fix1.30.7

ClerkProvider router navigation fixes and OAuth verification improvements

Fixed navigation handling in ClerkProvider to always use your application's router when provided, preventing internal renderer reloads. Also fixed OAuth account transfers that required verification being reset to sign-in start, and corrected redirect URL forwarding for enterprise SSO connections during sign-up.

Patch Changes

  • Keep Clerk's navigation inside the renderer. ClerkProvider now always supplies routerPush/routerReplace, so Clerk routes through your application's router when you provide one, and never navigates the window to an internal /CLERK-ROUTER/VIRTUAL/... path — which no custom protocol handler can serve, and which reloaded the renderer and dropped the user out of sign-in. (#9530) by @jeremy-clerk

    Applications that worked around this by passing no-op router functions, or by filtering CLERK-ROUTER/VIRTUAL out themselves, can remove those workarounds.

  • Fixes an issue where OAuth account transfers that needed additional verification were returned to the beginning of sign-in. (#9497) by @zourzouvillys

  • Route an OAuth transfer to the sign-up continue step when sign-in uses a native OAuth transport. The callback previously navigated with hash-style URLs (<sign-up-url>#/continue) that the in-place component router cannot resolve, landing transferred sign-ups on the start card where submitting created a fresh sign-up without the verified external account. (#9530) by @jeremy-clerk

  • Fix an issue where sign-ups that used an enterprise SSO connection did not correctly forward redirect URLs. (#9449) by @zourzouvillys

  • Updated dependencies [28b77ac, 46bf7ce, 8bc1c9f, 17b865b]:

    • @clerk/shared@4.30.0
    • @clerk/localizations@4.15.6
authoauthroutingssofix

Source: original entry ↗

More from Clerk

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

Breaking4.11.0

@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.

exponative-componentsbreakingsdk
Breaking0.1.0

@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.

exponative-componentsmigrationiosandroid
Announcement1.40.1

@clerk/ui@1.40.1

Release of @clerk/ui version 1.40.1 with updates and improvements to the UI component library.

uicomponentsrelease
See all Clerk changes →