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:
@@ -45,7 +45,7 @@ test('registers mail/account IPC handlers through the shared boundary', () => {
|
||||
|
||||
assert.deepEqual(registered.map(item => item.channel).sort(), [
|
||||
'mail:connect', 'mail:create-folder', 'mail:delete-draft', 'mail:disconnect',
|
||||
'mail:get-account', 'mail:list-accounts', 'mail:list-drafts', 'mail:list-folders',
|
||||
'mail:get-account', 'mail:list-accounts', 'mail:list-drafts', 'mail:list-folders', 'mail:list-oauth-providers',
|
||||
'mail:open-external', 'mail:preview-attachment', 'mail:remove-account', 'mail:save-attachment',
|
||||
'mail:save-draft', 'mail:select-account', 'mail:send', 'mail:set-snooze',
|
||||
'mail:sync-folder', 'mail:sync-inbox', 'mail:update-account', 'mail:update-message'
|
||||
|
||||
Reference in New Issue
Block a user