Wahoo's /oauth/token endpoint returns 400 for JSON bodies. OAuth 2.0 requires application/x-www-form-urlencoded for token requests; switch exchangeCode and refreshToken to URLSearchParams. Also include the response body in the thrown error so future failures are diagnosable without scraping container logs. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| components | ||
| hooks | ||
| jobs | ||
| lib | ||
| routes | ||
| entry.client.tsx | ||
| entry.server.tsx | ||
| root.tsx | ||
| routes.ts | ||