Support on-demand OAuth authorization for PlanetScale signature creation

Abierto
#248 1 comentario 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
15/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript

Línea de trabajo

The work centers on the cf hyperdrive integration planetscale signature command and the OAuth scope hyperdrive-planetscale:setup, which should be requested only when that command runs. Before writing code, check whether the upstream workers-auth PR #16184 has landed and whether a maintainer accepts the roadmap fit; the closed PR #247 is the earlier attempt. Done means the command requests the scope on demand and existing login and API-token behavior is unchanged.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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?

Lenguaje dominante
TypeScript
Estrellas
993
Forks
65
Merge medio
18 h 28 min
PR fusionados (30 d)
207

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de cloudflare/cf

Todos los issues de cloudflare/cf

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.