Skip to main content

Require a minimum ClerkJS version

Note

This protection is included on every plan, and it's on by default for instances created on or after November 12, 2026. See If it's already on.

The protections that block or challenge need a recent version of ClerkJS. On an older version, a sign-up that one of them challenges can stop without an error. Attempts from an older version come from an app that hasn't upgraded, or from a script built on an old copy of ClerkJS. Require a minimum ClerkJS version blocks sign-ups and sign-ins from versions older than the minimum you set, with a message that tells the developer to upgrade.

What it blocks

A sign-up or sign-in is blocked when it comes from a ClerkJS version older than the Minimum ClerkJS version setting. A sign-up or sign-in that carries a valid Testing Token isn't checked.

Sign-ups and sign-ins from native apps built with Clerk's iOS, Android, and Expo SDKs aren't affected.

What happens when an attempt is blocked

The sign-up or sign-in doesn't go through, and the user sees a message that the app uses an outdated version of Clerk. The message is written for the app's developer, in case the app itself is what's outdated. In English, the title and message are:

AttemptTitleMessage
Sign-upWe couldn't complete your sign-upThis app uses an outdated version of Clerk, so signing up isn't available right now. If you're the developer, upgrade your Clerk SDK to the latest version.
Sign-inWe couldn't sign you inThis app uses an outdated version of Clerk, so signing in isn't available right now. If you're the developer, upgrade your Clerk SDK to the latest version.

Prebuilt components on current SDK versions show the title and message on a full screen, with a link to Clerk's upgrade guides and a reference code. Older SDKs, including ClerkJS 5, show a shorter error instead. See What blocked users see.

Each blocked attempt appears as a protect.sign_up.blocked or protect.sign_in.blocked event in Application Logs.

Settings

SettingDefaultDescription
Minimum ClerkJS version6.42.3The oldest ClerkJS version that can sign up or sign in. Write it as a full version, such as 6.42.3.

Choose a minimum

Set the minimum no higher than the version your deployed app runs. Above that, this protection blocks your own users. A new ClerkJS release doesn't reach your app right away, so check before you raise the minimum. To check your app's version, open your browser's console and run window.Clerk.version.

How it works with other protections

With the default minimum, this protection blocks every ClerkJS version too old for the other protections that block or challenge. See the requirements.

It doesn't look at who's behind an attempt, so use it alongside the protections that target bots and fake accounts, such as Challenge suspicious sign-ups and Require Device Intelligence checks.

If it's already on

Each instance gets its default protections when you create it. This protection is enabled, with the default minimum, in every instance created on or after November 12, 2026, except a production instance created with Clone development instance, which takes its settings from your development instance. So if you created your application before that date and now create its production instance with Create default instance, this protection is enabled in production even if you never enabled it in development.

In each instance that has it enabled, check your app's ClerkJS version: open your browser's console and run window.Clerk.version. If it's older than the minimum, this protection blocks every browser sign-up and sign-in that doesn't carry a Testing Token. Apps on a Core 2 SDK run ClerkJS 5, so they need the Core 3 upgrade. Until you upgrade, lower the minimum to the version your app runs, or disable the protection in that instance.

Before you enable it

  • Upgrade your app first. Apps on a Core 2 SDK run ClerkJS 5, which is older than the default minimum, so follow the Core 3 upgrade guide. If you bundle or host @clerk/clerk-js yourself, update it.
  • Test it in development first. Enable it in your development instance, then sign up and sign in from a browser yourself before you enable it in production. Automated tests that use a Testing Token skip this protection, so they pass when your app runs an outdated version.

Feedback

What did you think of this content?

Last updated on