trails/apps/journal/app/lib/sync
Ullrich Schäfer b60cd96736
Revoke Wahoo tokens on disconnect; surface OAuth errors
Disconnecting a sync provider now calls the provider's revoke endpoint
(DELETE /v1/permissions for Wahoo) before dropping the local row, so
tokens don't accumulate against Wahoo's per-(app,user) cap. The token
exchange now classifies Wahoo's "Too many unrevoked access tokens" 400
as a distinct OAuthError code, and the connections settings page shows
a localized banner for that and other connect failures instead of a
silent ?error=sync_failed.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-01 10:03:50 +02:00
..
providers Revoke Wahoo tokens on disconnect; surface OAuth errors 2026-05-01 10:03:50 +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 Revoke Wahoo tokens on disconnect; surface OAuth errors 2026-05-01 10:03:50 +02:00