Polski

Backend & API

Authentication

Passwords, JWT, sessions, token refresh, OAuth and e-mail confirmation – safely, step by step.

Article

Backend login and registration – passwords, sessions, JWT, refresh token rotation and OAuth

We build authentication for the pierogi shop API in Express 5 (plus a NestJS variant) – argon2id password hashing, short-lived JWTs and rotated refresh tokens in httpOnly cookies with reuse detection, e-mail verification, password reset, rate limits and lockouts, Google sign-in (OIDC + PKCE) and a checklist based on OWASP ASVS 5.0.

Related articles

Around the topic

In this group: Backend & API