Comparing OAuth2, OpenID Connect (OIDC), and SAML — With Real Examples
A practical comparison of OAuth2, OpenID Connect, and SAML—what problems they solve, how they work, and when to use each.

Search for a command to run...

Series
This series breaks down modern web authentication, from core concepts like OAuth, OIDC, and tokens to real implementation details. You’ll learn how the pieces fit together and see how a production-ready system is built and secured.
A practical comparison of OAuth2, OpenID Connect, and SAML—what problems they solve, how they work, and when to use each.

How Redis enables fast, secure, and scalable session management in modern PHP-based web applications.

How signed cookies extend authentication to the CDN layer and securely protect static assets in a real-world system.

A practical, end-to-end guide to handling OIDC redirects, token exchange, identity mapping, and secure session creation inside a Yii/HumHub app

Real-world insights from integrating an external IdP into a legacy PHP ecosystem—and what developers should know before building their own auth system

A detailed look at the security mechanisms behind the authentication flow—how threats are mitigated, tokens are validated, and sessions are protected
