Skip to content

Support on-demand OAuth authorization for PlanetScale signature creation #248

Open

Description

@mtlemilio

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-auth PR #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?

Activity

  1. MattieTK commented on Oct 14, 2026

    @MattieTK
    Member

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions