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> |
||
|---|---|---|
| .. | ||
| providers | ||
| connections.server.ts | ||
| imports.server.ts | ||
| pushes.server.test.ts | ||
| pushes.server.ts | ||
| registry.ts | ||
| types.ts | ||