Skip to main content

Blog

News, insights and more

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

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
Clerk Nextjs 4 5 tutorial illustration

@clerk/nextjs v4.5

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

Published
Refactoring Stripes Api For Frontend Access setup guide

Refactoring Stripe's API for frontend access

We built `use-stripe-subscription` to make it easier for React developers to implement Stripe Billing

Published