UE4Launcher icon indicating copy to clipboard operation
UE4Launcher copied to clipboard

Unable to login through Google

Open gamefb opened this issue 5 years ago • 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

gamefb avatar Apr 15 '20 18:04 gamefb

same for me

though i could log into my account without using google

apo-egix avatar Apr 22 '20 17:04 apo-egix

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

nmrugg avatar May 17 '20 10:05 nmrugg

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

image

nitanmarcel avatar Oct 09 '20 14:10 nitanmarcel

@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.

nitanmarcel avatar Oct 09 '20 14:10 nitanmarcel

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

mrjuan1 avatar Apr 22 '21 09:04 mrjuan1

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.

mrjuan1 avatar Apr 22 '21 10:04 mrjuan1