Founder

Dharmendra Jagodana

Founder of BuildBase. Builds the platform and the six products that run on it.

73 posts · page 2 of 7

Build guide

BuildBase on Vite: add auth, teams and billing to a React SPA with no server

Add authentication to a Vite React app with no server of its own: three small functions for the code exchange, an httpOnly cookie, then teams and billing.

5 min read
Build guide

How to add passkeys in Next.js

Every passkey tutorial has you writing four WebAuthn route handlers. This one has you writing none, and making one near-permanent decision instead: which domain runs the ceremony.

6 min read
Build guide

Session cookie not shared across subdomains

Signed in on app.example.com, signed out on admin.example.com. An attribute-by-attribute audit of the Set-Cookie header that decides it.

9 min read
Build guide

How to add magic-link login in Next.js

Turning magic link on takes one toggle. The decisions that follow - session length, which browser opens the link, and deliverability - take longer.

6 min read
Comparison

Stytch vs BuildBase: the auth decision you cannot reverse cheaply

Stytch is an auth vendor you add to a stack. BuildBase is a backend that includes auth. The difference that matters is what it costs to change your mind later.

7 min read
Explainer

What is usage-based billing, and what it does to your invoices

Usage-based billing charges for what a customer consumed rather than for access. The definition is easy. Defending the number on the invoice is the actual product.

6 min read
Build guide

Connection pool exhausted as org count grows

MongoNotConnectedError under load is usually LRU eviction, not a dead database. The arithmetic behind the 30-connection tenant window and where your own ceiling lands.

10 min read
Build guide

An invited member who cannot see the workspace

The invite is parked in one of the states it passes through, and the admin console renders most of them identically. Walk the states, find yours, stop reading.

13 min read
Build guide

Middleware redirect loop after login in the App Router

Your middleware sees no cookie and 307s to /login. Your login page sees a session and bounces back. Traced hop by hop, plus the matcher and cookie rules that decide where it turns around.

9 min read
Build guide

A permission change that has not taken effect yet

Up to an hour, and that is the designed number, not a cache somebody forgot to bust. Which clock you are waiting on, and which one you can skip.

7 min read
Build guide

A 429 when the quota should not be exhausted

A 429 on the usage endpoint is almost never the quota. Quota rejection returns 400. Here is how to reconcile the counter you read with the counter being enforced.

8 min read
Build guide

Stripe webhook signature verification failed in Next.js

One error string covers two different bugs. Five causes for a failed Stripe webhook signature in Next.js, ranked by how often each is actually it, each with its one-line test.

10 min read

Read enough? Build something.

Everything we write about is in the product. 7-day free trial, no credit card.

7-day free trialNo credit card requiredCancel anytime