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

Login with Google OAuth not working #6408

Closed
ankpaw opened this issue Oct 10, 2019 · 7 comments
Closed

Login with Google OAuth not working #6408

ankpaw opened this issue Oct 10, 2019 · 7 comments
Assignees
Labels
closed/duplicate Issue has already been reported webcompat/not-shields-related Sites are breaking because of something other than Shields. workaround/allow-all-cookies

Comments

@ankpaw
Copy link

ankpaw commented Oct 10, 2019

Description

Whenever I try to use Oauth to login on any website, Brave simply opens up a new window and automatically closes after a few seconds and does not log me in.

Steps to Reproduce

  1. Go to any website ( For example: https://www.geeksforgeeks.org/)
  2. Click on Login button.
  3. Try logging in using Google OAuth button.

Actual result:

image

The above window appears and vanishes after few seconds but does not log me in.

Expected result:

It should log me in using my Google account.

Reproduces how often:

Easily reproduced

Brave version (brave://version info)

Brave 0.69.132 Chromium: 77.0.3865.90 (Official Build) (64-bit)
Revision 58c425ba843df2918d9d4b409331972646c393dd-refs/branch-heads/3865@{#830}
OS Windows 10 OS Version 1803 (Build 17134.885)
JavaScript V8 7.7.299.11
Flash (Disabled)
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36
Command Line "C:\Program Files (x86)\BraveSoftware\Brave-Browser\Application\brave.exe" --enable-dom-distiller --disable-domain-reliability --disable-chrome-google-url-tracking-client --no-pings --extension-content-verification=enforce_strict --extensions-install-verification=enforce --enable-features=NewExtensionUpdaterService,WebUIDarkMode,SimplifyHttpsIndicator --disable-features=UnifiedConsent,AudioServiceOutOfProcess,AutofillServerCommunication,LookalikeUrlNavigationSuggestionsUI --flag-switches-begin --flag-switches-end
Executable Path C:\Program Files (x86)\BraveSoftware\Brave-Browser\Application\brave.exe
Profile Path C:\Users\Ankit\AppData\Local\BraveSoftware\Brave-Browser\User Data\Default

Version/Channel Information:

It is happening on the current stable version.

  • Can you reproduce this issue with the current release? Yes
  • Can you reproduce this issue with the beta channel? Did not try
  • Can you reproduce this issue with the dev channel? Did not try
  • Can you reproduce this issue with the nightly channel? Did not try

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields? No
  • Does the issue resolve itself when disabling Brave Rewards? No
  • Is the issue reproducible on the latest version of Chrome? No

Miscellaneous Information:

@srirambv
Copy link
Contributor

Does allow third party cookie fix this?

@rebron
Copy link
Collaborator

rebron commented Oct 10, 2019

@srirambv All cookies allowed in Shields Settings as a workaround does work.

@iamankitpawar Can you go into Shields and turn on All cookies allowed to see if that works for you.
Screen Shot 2019-10-10 at 1 15 09 PM

@rebron rebron added webcompat/not-shields-related Sites are breaking because of something other than Shields. workaround/allow-all-cookies labels Oct 10, 2019
@rebron
Copy link
Collaborator

rebron commented Oct 18, 2019

cc: @bridiver Related to the cookie fix with Google auth?

@bridiver
Copy link
Contributor

the old google auth hack was removed because it was much more complicated to integrate into the network service and we couldn't reproduce the problem on any of the sites from the original ticket. Everyone at Brave uses google auth on a regular basis and I can't repro on that site. @iamankitpawar do you have any extensions installed?

@aborigines
Copy link

aborigines commented Nov 3, 2019

i got this problem too. im disable 2fa and enable back. it works.
so 2fa have new feature to use security keys like a mobile, usb to auth, does not works with brave browser.

@ankush1593
Copy link

the old google auth hack was removed because it was much more complicated to integrate into the network service and we couldn't reproduce the problem on any of the sites from the original ticket. Everyone at Brave uses google auth on a regular basis and I can't repro on that site. @iamankitpawar do you have any extensions installed?

Same issue is easily reproducible for me as well and the workaround provided @rebron works pretty well. But can't we get to a permanent solution?

@bsclifton
Copy link
Member

bsclifton commented Nov 25, 2019

I believe this was fixed with brave/brave-core#3784, which is currently in our Nightly build (w/ OAuth enabled by default). cc: @jumde

@iamankitpawar @ankush1593 @aborigines are you able to try on Nightly?

I'll close this as a dupe of #5869... but let's re-open if the fix on Nightly (1.3) doesn't work. 1.3 is slated to hit release channel ~Feb 4

@bsclifton bsclifton added the closed/duplicate Issue has already been reported label Nov 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed/duplicate Issue has already been reported webcompat/not-shields-related Sites are breaking because of something other than Shields. workaround/allow-all-cookies
Projects
None yet
Development

No branches or pull requests

8 participants