#Next.js

Authentication
3 min readHow to Add Auth0 Authentication to Next.js
Add Auth0 to Next.js - install the SDK, set env vars and the callback, read the session, and protect routes - plus when you might not need an auth provider at all.
By Pasindu Gamage· 7/7/2026

Integrations
4 min readHow to Use Supabase with Next.js (Complete Guide)
Use Supabase with Next.js the production way - browser/server clients, server-side sessions, and querying - plus when to add Prisma on the same Postgres.
By Pasindu Gamage· 7/3/2026

Deployment
4 min readHow to Dockerize a Next.js App (Production Guide)
A production guide to Dockerizing Next.js - multi-stage Dockerfile, standalone output, env handling, and a slim non-root image you can deploy anywhere.
By Pasindu Gamage· 7/2/2026

Authentication
4 min readNext.js Authentication - A Complete Guide (2026)
How Next.js authentication works in 2026 - sessions, OAuth, magic links, and route protection - plus when to build your own vs use Auth.js, Clerk, or Auth0.
By Pasindu Gamage· 6/30/2026