OAuth DCR omits token_endpoint_auth_method, so token exchange fails on client_secret_basic servers
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- go
- Área
- authentication
Línea de trabajo
Start with RegisterClientWithClient and ExchangeCodeForTokenWithClient in the OAuth client code, and compare the auth method sent at registration with the client-secret handling in the token request. Reproduce by registering against a server that defaults to client_secret_basic and checking which credential placement the exchange uses. Done when both steps use the same method, and the exchange follows the token_endpoint_auth_method the server returns.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
RegisterClientWithClient sends no token_endpoint_auth_method, so servers register the client as client_secret_basic (the RFC 7591 default). ExchangeCodeForTokenWithClient then sends client_secret in the form body (client_secret_post). Supabase-based auth servers reject this, and the OAuth prompt repeats.
Repro (v1.150.0): add https://mcp.structured.app/mcp as a remote MCP and authorize. The token exchange returns 400: invalid authentication method: client is registered for 'client_secret_basic' but 'client_secret_post' was used.
- Registration and token exchange use the same auth method.
- Token exchange honors the method the server returns at registration.
Workaround: register a public client by hand and set remote.oauth.clientId.
- Lenguaje dominante
- Go
- Estrellas
- 4.4k
- Forks
- 508
- Merge medio
- 7 h 52 min
- PR fusionados (30 d)
- 237
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin 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 docker/docker-agent
-
pkg/hooks tests fail with a misleading assertion when jq is not installedPosiblemente ocupada @dwin-gharibi la tomó hace 53 días. Abiertoarea/testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
docker/docker-agent#4052 ·
Los mantenedores suelen responder en 1 día
-
`remove_directory` and `create_directory` hide work they already did when a later path failsPosiblemente ocupada @dwin-gharibi la tomó hace 71 días. Abiertoarea/tools
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
docker/docker-agent#3933 ·
Los mantenedores suelen responder en 1 día
-
`edit_file` silently edits the first match when `oldText` occurs more than oncePosiblemente ocupada @dwin-gharibi la tomó hace 71 días. Abiertoarea/tools
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
docker/docker-agent#3929 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
area/docs
Dificultad 2/5 Menos de una hora Aptitud para principiantes 25/100
docker/docker-agent#4607 ·
Los mantenedores suelen responder en 1 día
-
area/docs area/models area/providers/gemini area/runtime automated
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
docker/docker-agent#4600 ·
Los mantenedores suelen responder en 1 día
Todos los issues de docker/docker-agent
Issues similares
-
oss/0 pending team/container-integrations
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
DataDog/datadog-agent#58323 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 Medio día Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
kind/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
kubernetes-sigs/external-dns#6816 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
ANSI translator ignores SGR 22/24 (and other attribute-off codes): bold and underline never turn offAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100