Posts tagged “typescript”
Vercel AI SDK WebSocket Chat Transport: When to Switch and How to Resume
When to adopt Vercel AI SDK’s WebSocket chat transport, how full-stream replay works, and the server, cancellation and hosting limits to plan for.
MCP TypeScript SDK 2.3.1: Enable Legacy Token Audience Checks
Configure token audience checks in MCP TypeScript SDK 2.3.1 legacy bearer auth: verifier mapping, URL matching rules and staging checks before rollout.
Add Microsoft Sign‑In to Next.js with Azure Entra + OIDC (PKCE)
ELI5, end‑to‑end guide to add Microsoft (Outlook + work/school) login to Next.js using Azure Entra OIDC with PKCE, secure cookies, Drizzle/Neon. Includes code, dev→prod, and troubleshooting.
Add Google Sign‑In to Next.js with OAuth 2.0 + OIDC (PKCE)
Step‑by‑step, ELI5 guide to add Google login to Next.js using OAuth 2.0 + OIDC with PKCE, secure cookies, and Drizzle/Neon. Includes code, security rationale, dev→prod, and troubleshooting.
Why I Built My Blog on Next.js + MDX (and Exactly How)
I wanted a fast, durable, file‑based blog—no CMS. Next.js + first‑class MDX fit perfectly. Here’s the why, the exact setup, SEO, and workflow you can copy.