< BACK_TO_SONAR
[ ACTIVE DEPRECATION DETECTED ]

Clerk API / clerk-nextjs-authmiddleware

Severity
High
Ecosystem
npm
Release Tag
Latest
Deadline
Immediate
Confidence
100%

>> Is your stack affected?

Paste your package.json below to instantly check if your application relies on this deprecated Clerk endpoint.

No Card Required
Migration_Guidance
🚨 **Primary Error:** authMiddleware is not exported / deprecated - use clerkMiddleware ✅ **Resolution:** Replace authMiddleware with clerkMiddleware and use createRouteMatcher plus auth().protect() for protected routes.