News Security

Google OAuth adds DPoP to lock refresh tokens to a device key

Google OAuth Platform now binds refresh tokens to a client-generated key using DPoP, while short-lived access tokens stay standard Bearer tokens.

Google OAuth Platform now supports DPoP, a method that ties refresh tokens to a private key held by the app that requested them. Google says a stolen refresh token cannot be replayed without that key.

Standard OAuth bearer tokens work on a finders-keepers basis, Google says: whoever holds one can use it. That leaves them exposed to infostealer malware such as RedLine and NodeStealer, and to adversary-in-the-middle attacks. DPoP, short for Demonstrating Proof-of-Possession and defined in RFC 9449, makes the app prove it holds its key with each token request.

Google applies the binding only to refresh tokens, the long-lived credentials that allow persistent offline impersonation. Short-lived access tokens remain ordinary Bearer tokens. Google says checking a DPoP signature on every call to high-traffic services such as Gmail, Calendar, or Drive would add heavy computing load and latency.

Google also says DPoP works at the HTTP header level, unlike mTLS binding, which can break at cloud proxies and load balancers. That makes it suited to multi-hop setups, including Model Context Protocol and autonomous agent systems. Developers must generate keys, handle timestamps and nonces, and build proof tokens. Google Workspace Context-Aware Access also uses DPoP to validate agent identities at the Agent Gateway on the Gemini Enterprise Agent Platform.

Source: Announcing DPoP Support for Google OAuth: Securing Refresh Tokens – Google Developers Blog.