super-productivity/electron/shared-with-frontend
Johannes Millan 25051d2899 fix(plugins): use loopback redirect and system browser for Google OAuth
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
2026-03-26 17:43:04 +01:00
..
ipc-events.const.ts fix(plugins): use loopback redirect and system browser for Google OAuth 2026-03-26 17:43:04 +01:00
lazy-set-interval.ts refactor: improve typing 2 2025-08-12 15:27:48 +02:00
mime-type-mapping.const.ts Adding Ctrl-V pasting function from clipboard. (#5998) 2026-02-04 15:46:51 +01:00
simple-store.const.ts feat(customWindowTitleBar): add sexy custom window title bar <3 2025-12-02 13:30:36 +01:00