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

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

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
@clerk/nextjs v4.5
- Category
- Engineering
- Published
- Authors

Let's stop arguing about JWTs and just fix them
- Category
- Engineering
- Published
- Authors

How to pass a value from Next.js middleware to API routes and getServerSideProps
- Category
- Engineering
- Published
- Authors

@clerk/nextjs v4.5
- Category
- Engineering
- Published
- Authors

Refactoring Stripe's API for frontend access
- Category
- Engineering
- Published
- Authors

Three best practices for building React REST SDKs
- Category
- Engineering
- Published
- Authors

Next.js SSR authentication with Clerk
- Category
- Engineering
- Published
- Authors

How to skip CORS preflights and speed up your API with polyfills
- Category
- Engineering
- Published
- Authors

It's the little things: Three developer experience delights of our Remix authentication package
- Category
- Engineering
- Published
- Authors

Unicorn or Chameleon? Two strategies for exporting customizable React components
- Category
- Engineering
- Published
- Authors

Introducing Web3 Authentication
- Category
- Engineering
- Published
- Authors

Generating sortable Stripe-like IDs with Segment's KSUIDs
- Category
- Engineering
- Published
- Authors

How we use End To End tests to bulletproof our authentication flows across browsers
- Category
- Engineering
- Published
- Authors

How HttpOnly cookies help mitigate XSS attacks
- Category
- Engineering
- Published
- Authors
