Stop being the product.
Become the owner.
or
sign uplog in

Hello, There is often confusion in CodeEvolution training…

Hello,

There is often confusion in CodeEvolution training or other Next.js tutorials: it is usually not Clerk that is deprecated, but some older Clerk APIs that are.

For example, Clerk has replaced several elements over the versions:

authMiddleware() → replaced by clerkMiddleware()
frontendApi → replaced by publishableKey
Some synchronous methods like auth() or clerkClient() have become asynchronous in recent versions in order to follow the evolution of Next.js.

In fact, Clerk continues to be actively maintained. The package@clerk/nextjs is always released and updated for recent versions of Next.js.

Why would a formation say it is “deprecated”?

The training may have been recorded with an older version of Next.js or Clerk.
The trainer is talking about an old method (authMiddleware) and not the Clerk service itself.
Some trainers today prefer to recommend NextAuth/Auth.js, which is very popular in the Next.js ecosystem, but that doesn't mean Clerk is abandoned.

In 2026, Clerk remains a completely valid solution for authentication with Next.js, especially if you want a quick setup with ready-to-use user management.
earnings
36,000 mlx total
$0  total
engagement
47 views
1 reactions

2 comments

$0 earned17m ago
Great
New
$0 earned4d ago
Actually only the old APIs got deprecated, not itself, those Next.js tutorails still teach authMiddleware like nothing changed.