@clerk/backend
3.29.0 · 14 Nov 2026MIT8.4M / weekRepositoryHomepagenpmAtom feed
2.33.9 is the newest release of 2.x.
In short
3 new1 faster2 internal
Security
2 advisories affect 2.2.0; 2.33.3 fixes them
- HighClerk has an authorization bypass when combining organization, billing, or reverification checksGHSA-w24r-5266-9c3c · 30 Apr 2026Fixed in 2.33.3
- High@clerk/backend Performs Insufficient Verification of Data AuthenticityGHSA-9mp4-77wg-rwx9 · 9 Jul 2025Fixed in 2.4.0
Release note
Minor Changes
Add support for
expiresInSecondsparameter in session token generation. This allows setting custom expiration times for tokens both with and without templates via the backend API.Optimize
auth()calls to avoid unnecessary verification calls when the provided token type is not in theacceptsTokenarray.Add handling for invalid token types when
acceptsTokenis an array inauthenticateRequest(): now returns a clear unauthenticated state (tokenType: null) if the token is not in the accepted list.
Introduce API keys Backend SDK methods
Patch Changes
Add logic to ensure that we consider the proxy_url when creating the frontendApi url.
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.