I was looking into how to implement google authentication in my Electron app.
I came for example across this article: https://arunpasupathi.medium.com/how-to-implement-google-authentication-in-your-electron-app-aec168af7410
It correctly mentions that:
“We need a Front end application for the authentication process”, so on top of Electron, it also starts a React process…
That is because Google Oauth sends a callback to a HTTP origin, so we need the React front end application to capture the success callback and send it to the Electron application.
However, I was wondering if there is not an easier way, to not have to start React in a separate process but just use Electron to capture the success callback? Many thanks in advance.