Overview
The Settings page allows you to manage integrations with external services and configure your Arre account. Currently, the primary feature is Google Tasks integration, which enables bidirectional sync between Arre and your Google Tasks lists.Access Settings by clicking the Settings icon in the sidebar navigation.
Google Tasks integration
Connect your Google Tasks account to sync tasks between Arre and Google Tasks. This integration uses OAuth 2.0 for secure authentication and proxies requests through Firebase Cloud Functions.Arre does not store your Google Tasks data. All requests are proxied directly to Google’s API, ensuring your data remains private.
How to connect
Click Connect Google Tasks
In the Integrations section, click the Connect Google Tasks button.You’ll be redirected to Google’s OAuth consent screen.
Grant permissions
Authorize Arre to access your Google Tasks:
- View tasks: Read your task lists and tasks
- Manage tasks: Create, update, and complete tasks
- View task lists: Access all your task lists
What gets synced
The Google Tasks integration provides access to:Task Lists
Fetch all your Google Tasks lists (e.g., “My Tasks”, “Work”, “Personal”)
Tasks
Read tasks from any list, including completed and hidden tasks
Task Updates
Update task status, title, notes, and due dates
Real-time Sync
Changes made in Arre are immediately reflected in Google Tasks
The integration does not automatically import Google Tasks into Arre. It provides API access for you to manually fetch and sync tasks as needed.
Available Cloud Functions
Once connected, three Cloud Functions become available:getGoogleTaskLists
Fetches all task lists for the authenticated user.Array of Google Tasks lists:
getGoogleTasks
Fetches tasks from a specific list.Google Tasks list ID
Include completed tasks in results
Include hidden tasks in results
updateGoogleTask
Updates a task’s properties.Google Tasks list ID
Task ID to update
Partial task object with fields to update:
title- Task titlestatus- “needsAction” or “completed”notes- Task descriptiondue- Due date in RFC 3339 format
How to disconnect
If you want to revoke Arre’s access to Google Tasks:Click Disconnect
In the Google Tasks integration card, click Disconnect.Your OAuth tokens will be removed from Firestore.
Revoke permissions (optional)
To completely revoke access, visit Google Account Permissions and remove Arre from the list of connected apps.
Data privacy
What’s stored:- OAuth access token (encrypted by Firebase)
- OAuth refresh token (encrypted by Firebase)
- Token expiration timestamp
- Your Google Tasks data (tasks, lists, notes)
- Task completion history
- Google account password
Troubleshooting
Connection fails with 'Failed to connect' error
Connection fails with 'Failed to connect' error
Possible causes:
- Google OAuth secrets not configured in Firebase Secret Manager
- Invalid redirect URI in Google Cloud Console
- Insufficient permissions granted during OAuth flow
- Verify
GOOGLE_CLIENT_IDandGOOGLE_CLIENT_SECRETare set in Firebase - Ensure redirect URI matches your Firebase Auth domain
- Try disconnecting and reconnecting to re-authorize
API calls fail after connecting
API calls fail after connecting
Possible causes:
- OAuth token expired (tokens are valid for 1 hour)
- Google Tasks API not enabled in Google Cloud Console
- Network connectivity issues
- Disconnect and reconnect to refresh tokens
- Enable Google Tasks API in your Google Cloud project
- Check browser console for detailed error messages
Want to add more integrations?
Want to add more integrations?
The Settings page architecture supports multiple integrations. To add a new service:
- Create Cloud Functions for the new API
- Add OAuth flow in
AuthContext.tsx - Add integration card to
Settings.tsx - Update Firestore security rules for the new collection
Technical implementation
The Settings feature uses:- Frontend:
src/pages/Settings.tsx- React component - Auth Context:
src/lib/auth/AuthContext.tsx- OAuth methods - Cloud Functions:
functions/index.js-getGoogleTaskLists,getGoogleTasks,updateGoogleTask - Firestore:
users/{uid}/integrations/googleTasks- Token storage
See also
Themes
Switch between light and dark mode
Cloud Functions
Technical details on integration APIs
Firebase Setup
Configure OAuth secrets
Security Rules
Firestore access control