trails/apps/journal/app/lib/sync/providers
Ullrich Schäfer 44944c1e82
Use form-encoded bodies for Wahoo OAuth token requests
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>
2026-05-01 09:23:57 +02:00
..
__fixtures__ Fix Wahoo import bugs, add Import All, update spec 2026-04-05 17:47:48 +02:00
wahoo.test.ts Add Wahoo pushRoute and SyncProvider push interface 2026-04-30 22:36:45 +02:00
wahoo.ts Use form-encoded bodies for Wahoo OAuth token requests 2026-05-01 09:23:57 +02:00