Misleading auth errors: CLOUDFLARE_PROFILE ignored, a missing --profile reported as "No authentication token found", a wrong account id as "Authentication error"
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- api, authentication, cli
Línea de trabajo
Start by reproducing the three cf workers list cases and compare them with cf auth whoami; inspect the profile and environment-variable handling referenced by related issue #37. Use FINDINGS.md and the findings/ directory for context. Done means the profile behavior is supported or documented, missing profiles are named, and account-id 403s point users toward checking the account id.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
cf version: 1.0.0-beta.5, macOS
Three auth and config mistakes produce errors that point the wrong way:
CLOUDFLARE_PROFILEis ignored.CLOUDFLARE_PROFILE=nosuchprofile cf workers list --per-page 1succeeds with the default credentials. It neither uses nor rejects the profile.- A missing profile reads like a missing login.
cf workers list --profile nosuchprofilegivesNo authentication token found.instead of "profile nosuchprofile not found (available: ...)". - A wrong account id reads like a bad token.
CLOUDFLARE_ACCOUNT_ID=00000000000000000000000000000000 cf workers listgives[10000] Authentication error(403). The token is fine; the account id isn't one the token can access.
Expected:
- honour
CLOUDFLARE_PROFILE, or document that it isn't supported; - name the missing profile;
- for a 403 on an
/accounts/{id}path, suggest checking the account id (e.g. againstcf auth whoami).
Related: #37 (document supported environment variables).
Found while evaluating cf for a dev workflow: https://github.com/joeblew999/cf-cli-test (FINDINGS.md, findings/).
- Lenguaje dominante
- TypeScript
- Estrellas
- 853
- Forks
- 42
- Merge medio
- 17 h 59 min
- PR fusionados (30 d)
- 145
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de cloudflare/cf
-
`cf complete zsh >> .zshrc` fails on vanilla zshQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
cloudflare/cf#340 ·
Los mantenedores suelen responder en 1 día
-
upstream
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
cloudflare/cf#262 ·
Los mantenedores suelen responder en 1 día
-
`cf dev` rejects `--port` and `--host` for Vite projects, including the `cf init` templatePosiblemente ocupada @jamesopstad la tomó hace 4 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
cloudflare/cf#223 · 2 asignados ·
Los mantenedores suelen responder en 1 día
-
upstream
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
cloudflare/cf#179 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 Medio día Aptitud para principiantes 45/100
cloudflare/cf#326 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de cloudflare/cf
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
anomalyco/opencode#56380 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
BUG | `MCP 服务器` | 全局层行的停用/启用与删除报 404 server row not found,编辑保存会在 profile 层复制出重复行Posiblemente ocupada @w6242652 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Chocobozzz/PeerTube#7832 ·
Los mantenedores suelen responder en 3 días
-
Pay to use?Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 66/100
darkreader/darkreader#16108 · 1 comentario ·
Los mantenedores suelen responder en 2 días