Clerk Next.js Middleware – shadcn/ui File by clerk | shadcnregistry
Clerk Next.js Middleware
file
The clerkMiddleware() helper integrates Clerk authentication into your Next.js application through Proxy. clerkMiddleware() is compatible with both the App and Pages routers.