feat: connect Faust.js to WordPress with an Application Password
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript, wordpress
- Área
- authentication, backend
Línea de trabajo
Start by tracing how FAUST_SECRET_KEY authenticates token exchange, blockset uploads, schema introspection, health checks, and telemetry in Faust.js core and the CLI; the issue does not name specific files or tests. Then check how WordPress Application Passwords expose authenticated users and capabilities. Done means these requests can use Application Passwords with the stated capability checks while the existing secret key continues to work and encrypt tokens.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Every request from a Faust.js server or the CLI to WordPress authenticates with the shared FAUST_SECRET_KEY: the token exchange, faust blockset, schema introspection for faust generatePossibleTypes, the CLI's health checks and telemetry. One value does all of these, so a credential that only needs to exchange tokens can also upload blocksets, and rotating it logs every user out because the plugin also uses it to encrypt tokens.
Proposal
Let core and the CLI authenticate with a WordPress Application Password instead, checked against capabilities:
faustwp_exchange_tokensfor the token exchange, health checks and telemetry. Administrators have it, and it can be added to a custom role for a dedicated user.faustwp_upload_blocksfor blockset uploads, limited to users who can manage the site's options (the network's on Multisite).- Schema introspection works for any authenticated Application Password, since WPGraphQL already allows it.
FAUST_SECRET_KEY keeps working and keeps encrypting tokens, so this is additive. Whether and when to deprecate the secret key is a separate decision.
Trade-offs
- WordPress only accepts Application Passwords over HTTPS or on local environments.
- Some servers strip the
Authorizationheader, and sites protected with HTTP Basic auth can't use Application Passwords, since both use that header (see #1850, #1524, #851).
Related
- #2673 documents Application Passwords for server-side writes, replacing the service-key idea in #2561.
- #2564 and #1512: authentication outside Next.js relies on existing tools rather than a Faust package.
- #2310 / #2312: how the secret key is compared today.
- Lenguaje dominante
- TypeScript
- Estrellas
- 1.6k
- Forks
- 157
- Merge medio
- 1 d 5 h
- PR fusionados (30 d)
- 121
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una 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 wpengine/faustjs
-
Add WordPress-style body classes to Faust pagesPosiblemente ocupada @josephfusco la tomó hoy. Abierto[Area] Core [Type] Enhancement
wpengine/faustjs#2682 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
[Area] Core [Area] WordPress Plugin [Type] Feature
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
wpengine/faustjs#2679 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
RFC: Raise the minimum Node.js version to 22 in the next majorPosiblemente ocupada @josephfusco la tomó hoy. Abierto[Area] Compatibility Breaking Change Needs Discussion
Dificultad 5/5 Más de una semana Aptitud para principiantes 30/100
Los mantenedores suelen responder en 1 día
-
Apollo Client 4 SPIKEAbierto[Area] Core dependencies
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
wpengine/faustjs#2192 · 5 reacciones ·
Los mantenedores suelen responder en 1 día
-
[Area] Core [Area] WordPress Plugin [Type] Bug Needs Reproduction
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
wpengine/faustjs#1933 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de wpengine/faustjs
Issues similares
-
Edit: Tele Posadas HDAbiertocheck:passed streams:edit
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
area:mcp bug has repro platform:vscode regression
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
anthropics/claude-code#103970 ·
Los mantenedores suelen responder en 1 día
-
skillopt: success-reflect prompt omits the edit schema, so every success-only edit is droppedAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Workspace secrets/constants containing "$" are corrupted when resolved in data source optionsAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
sdk-typescript: unquoted COPY globs in shell form are silently dropped from the image build contextAbiertobug javascript
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día