docs/wiki/2.09-Configure-Sync-Backend.md
For how to choose a provider, see [[2.08-Choose-Sync-Backend]]. For where data and backups are stored, see [[3.06-User-Data]] and [[4.23-Managing-Your-Data]]. The sync form lives in the app under Settings → Sync & Backup tab → Sync section. The structure below matches the form in the codebase.
The rest of the form depends on the selected provider. Common options (sync interval, manual-only, encryption) are described after the per-provider sections.
SuperSync uses a fixed sync interval and does not show the Sync interval or Only sync manually options; those apply to file-based providers.
Available on desktop (Electron) and Android only; not in the web app.
OneDrive sync requires your own Microsoft Entra (Azure AD) app registration — the app ships without a built-in OneDrive client ID, so the Use my own app registration option is always on. Create one at the Microsoft Entra admin center under App registrations → New registration, then configure it as a public client:
Redirect URI: Add a redirect URI under the Mobile and desktop applications platform (Authentication → Add a platform → Mobile and desktop applications):
superproductivity://oauth-callback/onedrivehttps://login.microsoftonline.com/common/oauth2/nativeclientDo not register these under the Web or Single-page application (SPA) platforms — token redemption then fails with HTTP 400 (e.g. AADSTS9002327).
Allow public client flows: In Authentication, set Allow public client flows to Yes. Super Productivity authenticates with PKCE and sends no client secret; if this is No, sign-in appears to succeed but the token step fails with HTTP 400 Bad Request (AADSTS7000218: ... 'client_assertion' or 'client_secret').
API permissions: Under API permissions, add the Microsoft Graph delegated permissions Files.ReadWrite.AppFolder and offline_access.
Then in Super Productivity:
common for personal or multi-tenant sign-in, or your specific tenant ID.Super Productivity), not at your OneDrive root.Troubleshooting HTTP 400 Bad Request after sign-in looks successful: This is the signature of a registration that is not a public client. Confirm Allow public client flows is Yes and the redirect URI is under Mobile and desktop applications (not Web/SPA). The app surfaces the underlying AADSTSxxxxx code in the error message to help pinpoint the cause.
https://cloud.example.com or https://example.com/nextcloud.<user-id> from the WebDAV URL shown there (.../remote.php/dav/files/<user-id>/). Do not use the number in a folder's address bar — that is a folder ID, not your user ID. (Nextcloud accepts an email/login name for authentication, so a wrong value here often still passes the login but then fails with a 404 because the files path does not exist.)/super-productivity or /). This is not your server's internal filesystem path.https://webdav.example.com/remote.php/dav/files/yourUserName/ or the WebDAV base URL provided by your server./super-productivity or /). This is not your server’s internal filesystem path.Available on desktop (Electron) and Android only; not in the web app.