Blog
Next.js 15 guides for self-hosted AI SaaS: Docker, Caddy, Auth.js, Stripe, LangGraph, pgvector, and Hetzner cost.
4 posts in Auth & Stripe
28 Oct 2026 · Auth & Stripe
Designing a Shared Team Credit Pool for AI Workspaces in Next.js 15
Deduct LLM usage from an organization balance instead of a personal counter, with Prisma, Stripe seats, and a debit that survives retries.
Read28 Oct 2026 · Auth & Stripe
Stripe Webhooks in Next.js 15 App Router, Raw Body and Idempotency
Why stripe.webhooks.constructEvent fails in the App Router, how to read the raw body, and how to store event ids so retries do not double-credit.
Read28 Oct 2026 · Auth & Stripe
Next.js 15 Server Actions Authorization, Stopping IDOR
Server Actions are POST endpoints. How to check the Auth.js session inside the action, reject cross-tenant ids, and share one guard across mutations.
Read28 Oct 2026 · Auth & Stripe
Auth.js v5 vs Clerk on Next.js 15, Dropping the Per-MAU Identity Tax
What Clerk costs as you grow, how Auth.js v5 plus Postgres looks in Docker, and when a hosted identity vendor is still the right call.
Read
