nmrugg/UE4Launcher

Unable to login through Google

Opened this issue · 6 comments

I have two factor authentication enabled on my Google account. After hitting "yes" on my phone, it returns with access denied to guestId: 2

same for me

though i could log into my account without using google

Thanks for the feedback. I haven't tested that out yet. I'll try to work on that.

@nmrugg this is the error shown after entering the email address:

image

@nmrugg I've tried changing the user agent but it didn't worked at all since the login is open in another window which doesn't have the correct user agent set.

When you press the login button it returns an url which you can use in another window and set the headers to Chrome.

Any news on this? I also get the image @nitanmarcel posted above...

Got it to work.

In main.js around line 700 (the startup function), add the following at the start of the function:

electron.session.defaultSession.webRequest.onBeforeSendHeaders((details, callback) => {
    details.requestHeaders["User-Agent"] = "Chrome";
    callback({ cancel: false, requestHeaders: details.requestHeaders });
});

Start the launcher, refresh the vault to sign in. All 2FA stuff works too. Vault took a bit to refresh, so just be patient there.