Skip to main content

Blog

News, insights and more

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

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

@clerk/nextjs v4.5

New in 4.5: Authentication moves to middleware, switchable runtime support, improved developer experience, preparation for Layouts

Published

Passwordless Authentication: Which Option Is Right for Your App

Passwordless Authentication is on an upward trajectory thanks to advancements in this space and recent password breaches.

Published