FormidableLabs / FormidableLabs/react-native-app-auth

invalid_client error during token exchange - clientSecret might need to be passed in request body

Abierto
#797 10 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
2.3k
Forks
473
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

## Issue

Hello,

I am trying to configure the Oauth 2 flow for Whoop. The Authentication step works but hte tokenn exchange fails with the error invalid_client : Error: Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method).
Using postman, the flow works when the client id and secret are passed in the token request body and not as a request query parameter but I cannot seem to find the right parameters to pass in the config object to do so (if the error is even what I think).

I have looked on other issues, but can't seem to find the solution.

Thanks a lot for your time and help,

Best

---

## Environment

* **Your Identity Provider**: WHOOP
* **Platform that you're experiencing the issue on**: both
* **Are you using Expo?** No

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Review the OAuth configuration and token-exchange path for the WHOOP provider, focusing on how the client ID and secret are supplied. Reproduce the failure described in the issue and compare it with the working Postman request. Done means the supported configuration is identified and either the exchange succeeds with credentials in the request body or the limitation is documented.

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

Evaluación

Stack tecnológico
react-native
Área
authentication, mobile
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.