Build safer Clerk authentication into Next.js.
web authentication
Applies advanced Clerk authentication patterns to Next.js middleware, Server Actions, API routes, and caching.
When to use it
Use when implementing server or client authentication, middleware, protected actions, API authorization, or user-scoped caching.
It changes how the agent implements Clerk authentication in a Next.js project, including which server and client APIs it uses.
What you provide
No additional actions listed in the analysis.
Requires the Clerk SDK for Next.js server APIs and client hooks.
Required for Clerk authentication; the files do not state how the skill obtains it.
Required for Clerk authentication; the files do not state how the skill obtains it.
Read from the environment for the optional manual JWT verification path using @clerk/backend.