@clerk/shared
4.45.1 · 14 Nov 2026MIT11.8M / weekRepositorynpmAtom feed
4.48.3 is the newest release of 4.x.
In short
4 new1 fixed
Release note
Minor Changes
Add
user.updateMetadata()for updating current user's metadata attributes by merging existing values with the provided parameters.
Patch Changes
Implement the Okta SAML metadata URL submission path in the Configure step of
<__experimental_ConfigureSSO />. Adds a single text input for the IdP metadata URL; Continue posts{ saml: { idpMetadataUrl } }viauser.updateEnterpriseConnectionwrapped inuseReverification, withuseCardStatedriving the loading state andhandleErrorrouting backend errors inline to the field or to the card-level error surface. Locale keys added underconfigureSSO.configureStepinen-US. Manual entry, file upload, SP-side copy rows, and the Okta admin-console walkthrough ship in follow-up PRs.Implement the provider selection step of
<__experimental_ConfigureSSO />. Renders the two SAML provider tiles (Okta Workforce and Custom SAML Provider) with real icons sourced fromimg.clerk.com, tracks the picked provider in local state, and gatesStep.Footer.Continueon a selection. Includes a warning callout about provider lock-in and a minorStep.Headeralignment tweak. All user-visible strings are wired through@clerk/localizations, with translations for every supported locale.Also extends the flow context with
providerandsetProvider, adds thederiveInitialStephelper, and wires the wizard'sinitialStepIdso the configure flow remounts on the right step after a reload. Continue on Select Provider stages the chosen provider and advances to the next step; the enterprise connection is created on Verify Domain once the user's email is verified and primary.Update
<ConfigureSSO />in the context of organizations to only allow managing enterprise connections based on system permissionAdd verify/add email address step to
<__experimental_ConfigureSSO />
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.