@clerk/shared@4.30.0
This release fixes OAuth account transfer verification flow, improves ClerkProvider navigation to prevent renderer reloads, polishes error messaging, and corrects redirect URL handling for enterprise SSO sign-ups.
Minor Changes
- Fixes an issue where OAuth account transfers that needed additional verification were returned to the beginning of sign-in. (#9497) by @zourzouvillys
Patch Changes
-
Keep Clerk's navigation inside the renderer.
ClerkProvidernow always suppliesrouterPush/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-clerkApplications that worked around this by passing no-op router functions, or by filtering
CLERK-ROUTER/VIRTUALout themselves, can remove those workarounds. -
Polish the missing/invalid key error copy: drop the two-space indent before the
npx clerk@latest initcommand (it rendered as a stray space in browser error overlays), start the follow-up sentence with the command name instead of "It" so the sentence stands on its own, and reword "Requires no Clerk account or login" to "No Clerk account or login required". (#9531) by @eatmorespinach -
Fix an issue where sign-ups that used an enterprise SSO connection did not correctly forward redirect URLs. (#9449) by @zourzouvillys
Source: original entry ↗