Cookies are disabled error when trying to login to Gmail in Brave Browser

Hi everyone,

I’m facing a frustrating issue with Brave Browser.

Every time I try to log into my Gmail account, all my accounts suddenly get logged out, and then when I attempt to log back in, I get this error:

“Cookies are disabled”

It says: “Your browser has cookies disabled. Make sure your cookies are enabled and try again.”

The strange thing is, my cookies are actually enabled in Brave settings. I have checked:

  • Shields are down for google.com and accounts.google.com

  • Cookies are set to “Allow all cookies”

  • No third-party cookie blocking is active for Google services

  • I’ve tried clearing cache & cookies, disabling extensions, and even using Incognito mode — but the problem still persists.

This started happening recently and it’s only occurring with Google services (Gmail, YouTube login etc.).

Has anyone else faced this “Cookies are disabled” error while logging into Gmail on Brave Browser?

Any working solution would be highly appreciated.

Thanks in advance! :folded_hands:

@H.Ali

The purpose of the following, is to discover if any cookie source is working - PLUS - discover if any cookie’s contents show up.

You can easily dismiss this detective work, but you will discover some important info that will help resolve your issue.

In a Brave Browser New Window, go to: https://accounts.google.com

Over at the upper-right corner of the browser window, there is a “layered” 3-horizontal-lines, “hamburger” icon ← click on that, to get a lengthy pop-down menu. Scroll down that menu and select More Tools. An associated pop-up window will display. Click on Developer Tools:

Over at the upper-right corner of the Developer Tools (aka Dev Tools aka DevTools) frame/window area, is a vertical 3-dot icon ← click on that:

A small pop-up will display, showing options for the arrangement of the DevTools frame/window. Select the 1st (ie left-most) of 4 options:

Select the DevTools window’s Console tab.

While still viewing the DevTools Console window, use keyboard commands to reload the Google login webpage; and next, take a screenshot of what you see as a list in the Console window.

Please control the area of your screenshot, and provide that screenshot here, at your Original Post - screenshot example:

Select the DevTools window’s Application tab. And then over on the left, click on the Cookies icon in order to display sources of cookies.

Click on the cookie source → https://accounts.google.com item. Over on the right, you should see some cookie(s) data/info - example:

Report what you see of any cookie(s) contents (and, in your case, is there any?) - screenshot would be nice and more informative.

The DevTools Network window is something to watch (off to the side - you might arrange windows accordingly, so you can see and work your login while also viewing DevTools), as you step through your attempts to sign in.

And the DevTools Console window may also reveal something that catches your eye.

All this exploration work takes time and thus improved acquaintance and then experience, that can help you figure out, or narrow down, where there may be some foundation (helpful for Brave Support to know) re an issue such as yours. And, for other issues that you may encounter.


PS. Please provide your Brave Browser version numbers and Operating System version numbers.

My Brave browser is the latest version, which is: Brave is up to date
Brave 1.88.136 (Official Build) (64-bit)
Chromium: 146.0.7680.164
My operating system is Windows 64-bit.

That is the necessary screenshot:
https://prnt.sc/CgK6bmCabxd3
https://prnt.sc/FdCFN7rnMirA

@H.Ali

Thank you for taking the time, to produce the screenshots.

My best guess of the moment …

The hoverzoom.js (Console screenshot) might be a script of the Hover Zoom+ extension; Console message:

Uncaught (in promise) SecurityError: Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document.
at prepareImgLinks (hoverzoom.js:2458:41)
at init (hoverzoom.js:4088:13)
at applyOptions (hoverzoom.js:2609:13)
at hoverzoom.js:2646:17

That extension may be interfering. Test by disabling that (and other extensions); but also remove Hover Zoom+ / HoverZoom, if you have it.

(NOTE: From the Chrome Web Store: “This is an open source version of the original HoverZoom extension which is now overrun by malware and deleted from store.”)

Extensions Tests:
  • test by disabling all extensions
  • test by enabling each extension individually
  • test by uninstalling all extensions
  • test by installing each extension individually
  • test combinations of extensions
  • test order of installation of extensions

Brave is probably somehow frustrating the Google sign-in flow - possibly in regard to accessing the third-party/cross-site storage that Google’s Multi-site Unified Login Eco-System expects. The following Developer Tools > Console lines may be a tell-tale of the sign-in flow problem:

POST
https://accounts.google.com/v3/signin/ /AccountsSignInUI/browserinfor?f.sid-=...
400 (Bad Request)


Short list of Google domain names and hostnames associated with, related to, Google’s Unified Login:

  • [*.]accounts.google.com
  • [*.]google.com
  • [*.]gstatic.com
  • [*.]mail.google.com
  • [*.]recaptcha.net
  • [*.]workspace.google.com
  • [*.]www.google.com
  • [*.]www.youtube.com

That short list, is from around 120 Google Eco-System domain names and hostnames.

In a Brave Browser New Window, go to: brave://settings/content/javascript and scroll down to the Allowed to use JavaScript section, and there, Add those Google domain names and hostnames.

In a Brave Browser New Window, go to: brave://settings/cookies and, in the Sites allowed to use third-party cookies section, Add those Google domain names and hostnames.

In a Brave Browser New Window, go to: brave://settings/content/braveShields and, in the Shields Down section, Add those Google domain names and hostnames.

So, regarding third-party cookies and Brave Shields, you are effectively rating Google’s Eco-System as Most Trusted.

Brave Browser effectively waving a very detailed ID badge at every challenge, in the Google World Order.

PS. Re the other Console screenshot, Brave Browser is storing cookies.