You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support on-demand OAuth authorization for PlanetScale signature creation #248
Hi cf team. Hyperdrive is introducing a dedicated sensitive OAuth scope, hyperdrive-planetscale:setup, for cf hyperdrive integration planetscale signature. This is to support the Hyperdrive x PlanetScale partnership, where customers can create databases that are billed to their Cloudflare account.
Currently, customers cannot use the signature command in cf due to missing the billing scope we enforce on the backend.
The internal Cloudflare changes are in review, and workers-authPR #16184 makes the scope explicitly requestable without adding it to default login grants.
cf PR #247 requests the scope only when this command needs it, while preserving existing OAuth scopes and API-token behavior. It was automatically closed by the contribution-policy workflow before review.
Does this fit the cf GA roadmap? If so, could someone sponsor/vouch for the change and advise when I should reopen the PR?
Hey @mtlemilio - I'm looking at how we would do this across all commands further up the stack, rather than something that involves handwritten command interception on specific routes.
Activity
MattieTK commentedon Oct 14, 2026
Hey @mtlemilio - I'm looking at how we would do this across all commands further up the stack, rather than something that involves handwritten command interception on specific routes.