SurfSense/surfsense_backend/app/connectors/google_drive
Anish Sarkar 45489423d1 feat: implement token encryption and state management for OAuth connectors
- Added encryption for sensitive tokens (access token, refresh token, client secret) in Google Calendar, Google Drive, Gmail, Linear, and Notion connectors to enhance security.
- Introduced OAuthStateManager for secure state parameter generation and validation, improving the integrity of OAuth flows.
- Updated callback routes to handle state validation and error management, ensuring robust handling of authorization processes.
- Enhanced indexers to support decryption of tokens for backward compatibility, maintaining functionality with existing encrypted credentials.
- Improved validation for date parameters in connector routes to ensure proper input handling.
2026-01-02 23:46:03 +05:30
..
__init__.py feat: add file selection to Google Drive connector 2025-12-31 14:15:07 +02:00
change_tracker.py feat: added circleback connector 2025-12-30 09:00:59 -08:00
client.py feat: added circleback connector 2025-12-30 09:00:59 -08:00
content_extractor.py feat: added circleback connector 2025-12-30 09:00:59 -08:00
credentials.py feat: implement token encryption and state management for OAuth connectors 2026-01-02 23:46:03 +05:30
file_types.py feat: added circleback connector 2025-12-30 09:00:59 -08:00
folder_manager.py feat: add file selection to Google Drive connector 2025-12-31 14:15:07 +02:00