Third party cookie exceptions

macos
#1

Description of the issue:

Brave only follows the shield setting for third party cookie blocking, but ignores anything added to brave://settings/content/cookies, specifically clear on exit.

Steps to Reproduce (add as many as necessary): 1. 2. 3.

This is particularly clear on teams.microsoft.com

  1. Go to teams.microsoft.com
  2. Try to log in with a microsoft account.
  3. The page will enter an infinite reload loop before finally spitting out an error.
  4. Add “[*.]login.microsoftonline.com” to “Clear on Exit” in brave://settings/content/cookies
  5. Click try again.

Actual Result (gifs and screenshots are welcome!):

The page still spits out an error to enable third party cookies.

Expected result:

In Chrome and Firefox, adding login.microsoftonline to clear on exit as an allowed third party cookie allows loading of the page. In Brave, it requires turning off 3rd party cookies in the shields, which allows other cookies through, which aren’t required for use.

Reproduces how often:

Always

Operating System and Brave Version(See the About Brave page in the main menu):

Mac OSX 10.14.4
Version 0.62.51 Chromium: 73.0.3683.103 (Official Build) (64-bit)

Additional Information:

Brave should respect settings in brave://settings/content/cookies in addition to settings in shield to ensure that only the specific 3rd party cookies needed for functionality are allowed while blocking all others.