---
title: "PKCE"
description: "1 posts about PKCE, summarised, each linking to the original."
---

# PKCE
> 1 posts about PKCE, summarised, each linking to the original.

## Articles

### [Never Share Your Password Again — The OAuth 2.0 Solution](https://yomu.fyi/post/never-share-your-password-again-the-oauth-2-0-solution.md)
- Company: [Stack Overflow](https://yomu.fyi/company/stack-overflow.md)
- Author: Srikanth Srinivas
- Published: Nov 9, 2026
- Type: Explainer

OAuth 2.0 solves the password anti-pattern, where third-party apps required user passwords and gained full account access, by letting users authenticate only with a trusted service that issues a scoped, time-limited, revocable token. The Authorization Code with PKCE flow uses five steps: the app redirects the user to the authorization server, the user authenticates on that server’s domain, the server returns a short-lived code, the app exchanges that code server-to-server for a token, and the token is used for API calls. Four critical parameters—state for CSRF protection, code\_challenge and code\_verifier for PKCE, redirect\_uri to prevent hijacking, and the short-lived code to limit reuse—defend against specific attacks. Scopes bound access to permissions like calendar.read, so a breached app only exposes bounded access rather than full account control. The protocol is secure enough to run every Sign in with Google button on the internet.
