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 <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-05-01 10:18:13 +02:00
parent 8da3001e64
commit 8b1d473902
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9

View file

@ -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({