trails/apps/journal/app/lib/sync
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
..
providers Use form-encoded bodies for Wahoo OAuth token requests 2026-05-01 09:23:57 +02:00
connections.server.ts Add Wahoo pushRoute and SyncProvider push interface 2026-04-30 22:36:45 +02:00
imports.server.ts Add activity import source badge, delete action, and No GPS indicator 2026-04-05 16:49:42 +02:00
pushes.server.test.ts Add Wahoo push action route + OAuth callback resume 2026-04-30 22:41:24 +02:00
pushes.server.ts Add Wahoo push action route + OAuth callback resume 2026-04-30 22:41:24 +02:00
registry.ts Add Wahoo activity sync with provider-agnostic framework 2026-04-04 11:22:02 +01:00
types.ts Add Wahoo pushRoute and SyncProvider push interface 2026-04-30 22:36:45 +02:00