Packages

@clerk/shared

4.45.1 · 14 Nov 2026MIT11.8M / weekRepositorynpmAtom feed

Your version

4.11.0

14 May 2026Where it was published

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 } } via user.updateEnterpriseConnection wrapped in useReverification, with useCardState driving the loading state and handleError routing backend errors inline to the field or to the card-level error surface. Locale keys added under configureSSO.configureStep in en-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 from img.clerk.com, tracks the picked provider in local state, and gates Step.Footer.Continue on a selection. Includes a warning callout about provider lock-in and a minor Step.Header alignment tweak. All user-visible strings are wired through @clerk/localizations, with translations for every supported locale.

    Also extends the flow context with provider and setProvider, adds the deriveInitialStep helper, and wires the wizard's initialStepId so 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 permission

  • Add 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.