---
title: "Posts tagged \"authentication\" | Blog | Suriyaprakash Somu"
canonical: "https://www.suriyaprakash.in/blog/tag/authentication"
robots: "index, follow"
---

# Articles tagged authentication

Page 1 of 1


Start with identity and access control, then compare server sessions, JWTs and delegated sign-in. These articles separate the user identity from the permissions and token lifecycles an application must enforce.

- [Password Hashing, MFA, and Account Security in Depth: Storing Credentials and Defending Accounts](https://www.suriyaprakash.in/blog/engineering/password-hashing-mfa-account-security)
  How to store passwords with Argon2id or bcrypt, block breached passwords, throttle logins, design reset codes, and add TOTP or passkey MFA.
- [OAuth 2.0 and OpenID Connect in Depth: Authorization Flows and Social Login in Practice](https://www.suriyaprakash.in/blog/engineering/oauth-oidc-in-depth)
  A practical guide to OAuth 2.0 and OpenID Connect covering authorization code flow, PKCE, ID tokens, scopes, social login, redirect URI security, and production mistakes.
- [Sessions vs JWTs: Where Tokens Live, How They Expire, and Why It Matters](https://www.suriyaprakash.in/blog/engineering/sessions-vs-jwts)
  A practical comparison of server-side sessions and JWT authentication, covering storage, cookies, expiry, revocation, refresh-token rotation, browser security, and production tradeoffs.
- [Authentication vs Authorization in Depth: Sessions, JWTs, RBAC, ABAC, and Access Control](https://www.suriyaprakash.in/blog/engineering/authentication-vs-authorization)
  A practical guide to authentication and authorization covering sessions, JWTs, access tokens, refresh tokens, RBAC, ABAC, tenant boundaries, and production access-control mistakes.
- [Server-Side Request Flow in Depth: Proxies, Middleware, Auth, Rate Limiting, and Observability](https://www.suriyaprakash.in/blog/engineering/server-side-request-flow-in-depth)
  A practical guide to what happens inside a server once a request arrives, covering reverse proxies, load balancers, middleware, routing, auth, rate limiting, database access, and observability.
