FormidableLabs / FormidableLabs/react-native-app-auth

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

Offen
#797 10 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
2.3k
Forks
473
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

## 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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.