Archive completed changes and sync their delta specs to main: - wahoo-import: new wahoo-import spec, updated journal-auth and account-settings - journal-route-previews: new route-preview spec, updated map-display and route-management Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
9 lines
422 B
Markdown
9 lines
422 B
Markdown
## MODIFIED Requirements
|
|
|
|
### Requirement: Store external service tokens
|
|
The journal auth system SHALL store OAuth tokens for external services alongside user credentials.
|
|
|
|
#### Scenario: Wahoo token storage
|
|
- **WHEN** a user connects their Wahoo account
|
|
- **THEN** access token, refresh token, expiry time, and Wahoo user ID are stored in the `wahoo_tokens` table
|
|
- **AND** tokens are associated with the journal user ID
|