
Chris CoutinhoandClaude Opus 4.5
a58a14111b
feat(vector-sync): enable background sync in OAuth mode
Add multi-user background vector synchronization when running in OAuth
mode with ENABLE_OFFLINE_ACCESS=true. Key changes:
Architecture (oauth_sync.py):
- User Manager task polls RefreshTokenStorage for provisioned users
- Per-user scanner tasks fetch documents using OAuth tokens
- Shared processor pool indexes documents from all users
Token Broker improvements:
- Accept client_id/client_secret instead of encryption_key
- Remove redundant token audience pre-validation (Nextcloud validates)
- Add _rewrite_token_endpoint for Docker internal URL routing
- Remove double-decryption (storage handles encryption internally)
Browser OAuth flow fixes:
- Add 'resource' parameter to request Nextcloud-scoped tokens
- Store and retrieve next_url for proper redirect after consent
- Rewrite token endpoint URLs for internal Docker access
Configuration:
- Add vector_sync_user_poll_interval setting (default: 60s)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-14 20:00:41 +01:00
..
2025-12-14 20:00:41 +01:00
2025-12-13 15:47:27 +01:00
2025-11-13 21:57:14 +01:00
2025-11-22 16:58:35 +01:00
2025-11-22 19:47:43 +01:00
2025-11-29 14:39:31 +01:00
2025-12-08 01:09:02 +01:00
2025-12-08 01:09:02 +01:00
2025-12-14 00:23:12 +01:00
2025-12-13 23:51:18 +01:00
2025-10-25 19:52:45 +02:00
2025-12-14 20:00:41 +01:00
2025-05-04 23:24:55 +02:00
2025-12-14 20:00:41 +01:00
2025-11-23 04:02:30 +01:00
2025-12-14 20:00:41 +01:00
2025-11-22 18:22:55 +01:00
2025-11-22 17:30:42 +01:00