Skip to main content

Blog

News, insights and more

Learn more about Clerk, our approach to authentication, and company news.

Skip Nextjs Middleware Static And Public Files tutorial illustration

How to skip Next.js middleware for static and public files

Stop your Next.js middleware from running on static assets like images and Next.js internals

Published
Lets Stop Arguing About Jwts And Just Fix Them guide illustration

Let's stop arguing about JWTs and just fix them

JWTs have won. It's time we embrace them and fix the dangerous implementations.

Published
Nextjs Pass Value From Middleware To Api Routes And Getserversideprops tutorial illustration

How to pass a value from Next.js middleware to API routes and getServerSideProps

Compute a value in middleware and pass it to your API route or getServerSideProps. Works in both Node and Edge runtimes.

Published