@clerk/nextjs
7.10.2 · 17 Nov 2026MIT4.2M / weekRepositoryHomepagenpmAtom feed
7.10.7 is the newest release of 7.x.
In short
2 fixed
Release note
The section about @clerk/nextjs of a note shared by several packages.
Patch Changes
Fix
auth.protect()skipping authorization checks for machine tokens. Therole,permission,feature,plan, andreverificationparams and the predicate callback are now evaluated for API key, OAuth token, and M2M token requests. Param-based checks respond with a 401 for those requests.Fix
getAuth()andauth()returning OAuth and M2M tokens as signed-in user sessions. They now return a signed-out state for machine tokens. To authenticate OAuth or M2M tokens on a route, useauth({ acceptsToken }).
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.