Neki, sharded Postgres, is now available. Learn more
Navigation

DPoP-bound OAuth tokens for the CLI and API

PlanetScale now supports DPoP (Demonstrating Proof of Possession) for OAuth tokens in the CLI and API. DPoP binds each token to a private key on your machine and requires a single-use proof on every request, so a stolen token won't work without that key.

pscale auth login will now request DPoP-bound tokens automatically in CLI v0.360.0 and later. Existing logins will keep using Bearer tokens until you run pscale auth logout followed by pscale auth login. Service tokens aren't affected.

OAuth applications can opt in by sending a DPoP proof with the token request and a new proof with each API request. Proofs use ML-DSA-44, a post-quantum signature algorithm.

Read more