Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to login through Google #6

Open
gamefb opened this issue Apr 15, 2020 · 6 comments
Open

Unable to login through Google #6

gamefb opened this issue Apr 15, 2020 · 6 comments

Comments

@gamefb
Copy link

gamefb commented Apr 15, 2020

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

@apo-egix
Copy link

same for me

though i could log into my account without using google

@nmrugg
Copy link
Owner

nmrugg commented May 17, 2020

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

@nitanmarcel
Copy link

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

image

@nitanmarcel
Copy link

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

@mrjuan1
Copy link
Contributor

mrjuan1 commented Apr 22, 2021

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

@mrjuan1
Copy link
Contributor

mrjuan1 commented Apr 22, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants