FormidableLabs / FormidableLabs/react-native-app-auth

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

オープン
#797 コメント 10 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
2.3k
フォーク
473
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。