DEV Community

# authentication

User authentication mechanisms

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Handling Authentication with JWT the Right Way in Node.js (2026 Edition)

Handling Authentication with JWT the Right Way in Node.js (2026 Edition)

Comments
17 min read
Making Shop Auth Accept Phone OR Email — A zod + TypeScript Fix

Making Shop Auth Accept Phone OR Email — A zod + TypeScript Fix

1
Comments
2 min read
Authentication on the Frontend - More Than Just Tokens

Authentication on the Frontend - More Than Just Tokens

7
Comments
7 min read
Unified Authentication for OAuth2 and API Keys via Edge Token Normalization

Unified Authentication for OAuth2 and API Keys via Edge Token Normalization

Comments
9 min read
I replaced Auth0 with an open source library in 30 minutes. Here is what broke.

I replaced Auth0 with an open source library in 30 minutes. Here is what broke.

4
Comments 1
7 min read
The Front Door of Cloud Applications: Simplifying Authentication with Amazon Cognito

The Front Door of Cloud Applications: Simplifying Authentication with Amazon Cognito

Comments
5 min read
I've built auth six times. Here's the system I would build today

I've built auth six times. Here's the system I would build today

4
Comments
5 min read
How to build a login flow in Next.js 15 (sessions, cookies, CSRF, and the timing attack nobody talks about)

How to build a login flow in Next.js 15 (sessions, cookies, CSRF, and the timing attack nobody talks about)

2
Comments
10 min read
Cryptographic Agent Identity: A Technical Solution to Bot Detection

Cryptographic Agent Identity: A Technical Solution to Bot Detection

Comments
6 min read
Dropping Email Required — Migrating to Phone OR Email Authentication

Dropping Email Required — Migrating to Phone OR Email Authentication

Comments
2 min read
JWT Token Explained: How to Decode, Debug, and Secure Your Tokens

JWT Token Explained: How to Decode, Debug, and Secure Your Tokens

Comments 1
1 min read
I Built a Self-Hosted Auth System Like Clerk — Here's What I Learned

I Built a Self-Hosted Auth System Like Clerk — Here's What I Learned

Comments
3 min read
Addressing Security Risks: Replacing Unscoped API Keys with Fine-Grained Access Control in AI Agent Frameworks

Addressing Security Risks: Replacing Unscoped API Keys with Fine-Grained Access Control in AI Agent Frameworks

Comments
11 min read
Things I Learned While Building Custom Keycloak Themes

Things I Learned While Building Custom Keycloak Themes

Comments
3 min read
NextAuth.js v5 + Prisma + PostgreSQL: Production Setup Guide

NextAuth.js v5 + Prisma + PostgreSQL: Production Setup Guide

Comments
4 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.