@clerk/shared
4.45.1 · 14 Nov 2026MIT11.8M / weekRepositorynpmAtom feed
4.48.3 is the newest release of 4.x.
In short
1 new2 fixed
Release note
Minor Changes
<SignIn />and<SignUp />show a dedicated screen when a request is blocked, with a reference the user can quote to support.action_blockederrors now exposetraceId,title,description,linkUrl,linkText,kindanddataonmeta.
Patch Changes
Fix enterprise SSO sign-ins erroring instead of showing a verification challenge raised while handing off to the identity provider.
If you use the prebuilt
<SignIn />component, there is nothing to do. If you have Clerk Protect enabled and callsignIn.authenticateWithRedirect()orsignIn.authenticateWithPopup()from a custom sign-in flow, catch aClerkRuntimeErrorwith codeprotect_check_requiredand show the verification challenge, to avoid a stalled sign-in.That error means a verification challenge has to be completed before the sign-in can redirect. It replaces the generic "not supported" error these methods threw before. When it is thrown, the sign-in is gated:
signIn.protectCheckis set, or its status isneeds_protect_check. For enterprise SSO, run the challenge and then callauthenticateWithRedirect()again withcontinueSignIn: true. If the server has already prepared the redirect, the sign-in continues to the identity provider and the challenge runs when it returns, so no error is thrown.Run a sign-up's verification challenge before handing off to an enterprise connection, matching the order used elsewhere in the flow.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.