FormidableLabs / FormidableLabs/react-native-app-auth
invalid_client error during token exchange - clientSecret might need to be passed in request body
- Langage dominant
- Java
- Étoiles
- 2.3k
- Forks
- 473
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
## 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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Examinez la configuration OAuth et le chemin d’échange de tokens pour le fournisseur WHOOP, en vous concentrant sur la manière dont le client ID et le secret sont fournis. Reproduisez l’échec décrit dans l’issue et comparez-le à la requête Postman fonctionnelle. Le travail est considéré comme terminé lorsque la configuration prise en charge est identifiée et que l’échange réussit avec les identifiants dans le corps de la requête, ou que la limitation est documentée.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- react-native
- Domaine
- authentication, mobile
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100