brave-browser: Many users seeing authentication errors on crunchyroll.com

Description

Users are having trouble logging in and/or staying logged into crunchyroll.com in Brave. Appears to be cookie related. Some users report that they cannot login at all, others who are able to are then later logged out and when attempting to log back in, see Something went wrong error.

  • One user reports that disabling/re-enabling extensions works and that it works in Private windows
  • One user states that the site works without logging in but attempting to log in breaks the site
  • Site works fine in other Chromium browsers
  • Possibly specific to Windows

Reproduces how often:

Intermittent

Brave version (brave://version info)

v.1.56.14

Version/Channel Information:

  • Can you reproduce this issue with the current release? N/A
  • Can you reproduce this issue with the beta channel? N/A
  • Can you reproduce this issue with the nightly channel? N/A

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:

User reports: https://community.brave.com/t/crunchy-roll-log-in-not-working-on-brave/495997/19

About this issue

Commits related to this issue

Most upvoted comments

Can folks try the following to help verify our fix:

  1. Go to brave://settings/shields/filters => Create custom filters => add ||c.evidon.com/dg/dg.js$script => save.
  2. Go to https://crunchyroll.com
  3. Go to devtools => Application => Local storage => Delete all local storage for sso.crunchyroll.com
  4. Refresh the page.
  5. Try logging in. image

Our current thought is that the https://c.evidon.com/dg/dg.js script checks for Global Privacy Control and if yes, then sets _evidon_consent_ls_<randomnumber> which stores gpc: 1 in local storage, that prevents login from working.

@ShivanKaul I had to refresh between steps 3 and 4 to make it work but this did work for me. It’s been months since I’ve been able to use crunchyroll. Thank you!