Skip to main content

Authentication

6 articles · written by Niraj Kumar

Authentication bugs are rarely about cryptography; they come from picking the wrong protocol for the job or getting token lifecycles subtly wrong. These guides are about making those decisions deliberately.

Start with the JWT vs OAuth 2.0 vs OIDC comparison if you are choosing an approach, then move on to implementing JWT and OAuth 2.0 in Express, secure refresh-token rotation with rate limiting, and modern OAuth 2.1, OpenID Connect and passwordless login. Related posts cover multi-tenant authorization with PostgreSQL row-level security and securing real-time Socket.io connections.

Need this built rather than explained?

End-to-end TypeScript products — Node APIs, PostgreSQL/Prisma, auth, and typed frontends.

TypeScript Full Stack Development →

Related topics

← All articles