Fix more electron API issues (ssh/oidc), make server manager force API check, and login saving.
This commit is contained in:
@@ -28,7 +28,11 @@ contextBridge.exposeInMainWorld('electronAPI', {
|
||||
isDev: process.env.NODE_ENV === 'development',
|
||||
|
||||
// Generic invoke method
|
||||
invoke: (channel, ...args) => ipcRenderer.invoke(channel, ...args)
|
||||
invoke: (channel, ...args) => ipcRenderer.invoke(channel, ...args),
|
||||
|
||||
// OIDC handlers
|
||||
oidcSuccess: (data) => ipcRenderer.invoke('oidc-success', data),
|
||||
oidcError: (data) => ipcRenderer.invoke('oidc-error', data)
|
||||
});
|
||||
|
||||
// Also set the legacy IS_ELECTRON flag for backward compatibility
|
||||
|
||||
Reference in New Issue
Block a user