Security
Google OAuth now supports DPoP to bind refresh tokens to device keys
Google is deploying cryptographic proof-of-possession binding for OAuth refresh tokens to prevent token theft and replay attacks.
Google Developers Blog (AI)
Google has announced support for DPoP (Demonstrating Proof-of-Possession) across its OAuth 2.0 platform, a security enhancement that cryptographically ties refresh tokens to a client's keypair and prevents attackers from using stolen tokens.
The threat landscape#
Traditional OAuth bearer tokens are vulnerable to theft from infostealer malware like RedLine and NodeStealer, as well as from adversary-in-the-middle (AiTM) attacks. Once compromised, a bearer token can be replayed indefinitely without any additional verification. This vulnerability is particularly acute for long-lived refresh tokens, which can be used to issue new access tokens indefinitely.
How DPoP works#
DPoP—defined in RFC 9449—is an application-layer security profile that cryptographically binds tokens to asymmetric keypairs generated by the client. If an attacker steals a DPoP-bound token, it cannot be used without the corresponding private key, neutralizing both token theft and replay attacks. The approach has been endorsed by the IETF as a best current practice for OAuth 2.0 security (RFC 9700).
Google's pragmatic implementation#
Rather than binding all tokens with DPoP, Google has made a targeted engineering choice: DPoP protection applies only to long-lived refresh tokens, while short-lived access tokens remain standard bearer tokens. This design reflects a performance tradeoff.
Why this split? Verifying asymmetric cryptographic signatures requires substantial CPU cycles. At Google's scale, requiring signature verification on every API request to high-throughput services like Gmail, Calendar, or Drive would introduce measurable latency and cost. By constraining DPoP to refresh tokens—which are exchanged far less frequently—Google protects the most sensitive credentials while preserving the performance developers expect.
Implementation considerations#
Developers adopting DPoP must handle client-side cryptographic key generation, strict timestamp and nonce management, claim computation, and DPoP proof JWT construction—capabilities not required for standard bearer flows. Google has published a DPoP adoption guide and implementation resources to assist teams.

