Auth0 Google login in Electron

@auth0/auth0-spa-js: 1.6.3

Hi there!

We are currently working on an electron app version of a web app currently released in production. We are using Auth0 to provide IAM to a React app and corresponding AppSync backend hosted on AWS. This works well in chrome / firefox in the web app however we are unable to get Google login to work in electron.

Google login does not support electron. We have tried using loginWithPopup and forcing electron to open this popup in a chrome window with parameters to redirect the successful result to electron://our-app. This does not seem to work - the electron app returns an error stating: login required.

What is the recommended implementation for this?

Has anyone managed to get Google login via Auth0 social login working in electron?

Any thoughts / comments / suggestions greatly appreciated!