From 8b1d4739022450a669642a00377730d0e07e0bbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20Sch=C3=A4fer?= Date: Fri, 1 May 2026 10:18:13 +0200 Subject: [PATCH] Request routes_read Wahoo scope GET /v1/routes/:id needs routes_read; routes_write only covers writes. Existing connections will need to reauthorize to gain the new scope. Co-Authored-By: Claude Opus 4.7 --- apps/journal/app/lib/sync/providers/wahoo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/journal/app/lib/sync/providers/wahoo.ts b/apps/journal/app/lib/sync/providers/wahoo.ts index c3c283a..deb0a8e 100644 --- a/apps/journal/app/lib/sync/providers/wahoo.ts +++ b/apps/journal/app/lib/sync/providers/wahoo.ts @@ -20,7 +20,7 @@ const clientSecret = () => process.env.WAHOO_CLIENT_SECRET ?? ""; export const wahooProvider: SyncProvider = { id: "wahoo", name: "Wahoo", - scopes: ["workouts_read", "user_read", "offline_data", "routes_write"], + scopes: ["workouts_read", "user_read", "offline_data", "routes_read", "routes_write"], getAuthUrl(redirectUri: string, state: string): string { const params = new URLSearchParams({