Skip to content

[Containers] Containers should isolate OS Credentials (CloudAPIAuthEnabled policy switch) #57741

Description

@KL4RKS

Description

My company began enforcing device compliance to access certain URLs. I don't know all the technical aspects, but essentially the browser reached out to the OS to authenticate (automatically) the session. When I look at my registry they enabled CloudAPIAuthEnabled for Chrome and WindowsSSO for Firefox. I noticed Firefox can access those sites in the default context, but not from a container. When I enable CloudAPIAuthEnabled for Brave, SSO is bypassed (uses the OS authentication) in the default context AND in a temporary container. I would imagine containers should NOT use device authentication (matching Firefox's behavior.)

Steps to reproduce

Prerequisite, access to a site that uses Microsoft EntraID (maybe works with Azure?)

  1. Enable CloudAPIAuthEnabled
  2. Navigate to the Microsoft SSO login in a default container. SSO should automatically use OS Authentication.
  3. Navigate to the Microsoft SSO login in a temporary container. SSO should NOT automatically use OS Authentication, but does.

Actual result

login.microsoftonline.com automatically authenticates using OS credentials (without prompting for login) in a container tab.

Expected result

Login should prompt for credentials (not automatically use OS credentials) in a container tab (not using OS Auth). If the site requires OS credentials, it might also fail and give an error like the following:

Image

Reproduces how often

Easily reproduced

Brave version (brave://version info)

1.93.129 Chromium: 151.0.7922.71 (Official Build) (64-bit)
Windows 11 Version 25H2 (Build 26200.8893)

Channel information

  • release (stable)
  • beta
  • nightly

Reproducibility

  • with Brave Shields disabled
  • with Brave Rewards disabled
  • in the latest version of Chrome

Miscellaneous information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions