Oauth using capacitor plugin on electron

Hey, I am using Ionic 5 for making a PWA for web, ios, android, and desktop using electron. so I was able to work around with GoogleAuth and OutlookAuth using the Plugins from ‘@capacitor/core’ then Plugins.GoogleAuth.signIn() but the issue is this google auth is working in all other platforms but not the only electron it just gives and error about data not found. In case of Plugins.OAuth2Client.authenticate(oauth2Options) it just simply opens the mini browser and closes immediately causing an error…