mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-28 18:20:42 +00:00
Google's Desktop OAuth client requires loopback redirect URIs (http://127.0.0.1:<port>) and blocks embedded webviews. This replaces the custom URI scheme + BrowserWindow approach with a temporary loopback HTTP server and shell.openExternal for the system browser. - Add PLUGIN_OAUTH_PREPARE IPC to start loopback server and return port - Open auth URL in system browser instead of Electron BrowserWindow - Make getRedirectUri() async to support IPC port retrieval - Validate OAuth config before starting loopback server to prevent leaks - Force 200 status on OPTIONS preflight responses in CORS bypass |
||
|---|---|---|
| .. | ||
| ipc-events.const.ts | ||
| lazy-set-interval.ts | ||
| mime-type-mapping.const.ts | ||
| simple-store.const.ts | ||