Implemented desktop OAuth2 account setup for Google and Microsoft. The flow uses the system browser and PKCE; access and refresh tokens stay in the main process and encrypted account store. OAuth connections use fixed provider endpoints, and existing password-based accounts remain supported. Android remains password-based in this phase.
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ The Android app reuses the web UI in a Capacitor shell (`android/`, `capacitor.c
|
||||
|
||||
The main process owns the canonical account model and persists it in an encrypted store:
|
||||
|
||||
- `mail-account.enc` stores connected IMAP/SMTP accounts and their settings.
|
||||
- `mail-account.enc` stores connected IMAP/SMTP accounts, settings, and desktop OAuth tokens; OAuth refresh tokens never enter the renderer API.
|
||||
- `dav-accounts.enc` stores CalDAV/CardDAV credentials and server config.
|
||||
- `pgp-keys.enc` stores OpenPGP keys and trust data.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user