Skip to content

COOP requirement clarification #8393

@h3rmanj

Description

@h3rmanj

Core Library

MSAL.js (@azure/msal-browser)

Wrapper Library

Not Applicable

Public or Confidential Client?

Public

Documentation Location

https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-browser/docs/v4-migration.md#cross-origin-opener-policy-coop-support

Description

I'm a bit unsure whether returning COOP headers for my application is required for upgrading to MSAL v5.

The upgrade docs states:

When the authentication service (Microsoft Entra ID or Azure AD B2C) returns COOP headers, traditional popup and silent iframe authentication flows are restricted.

and

Microsoft Entra ID (formerly Azure AD) has COOP enabled by default.

This makes it seem it is required to return the COOP headers for your application to work.

However, when testing, it only seems that the redirect bridge itself is required. Checking your samples, the default react sample also doesn't do anything specific to return COOP headers, only implementing a redirect bridge.

Are COOP headers required in MSAL v5? Or is the redirect bridge pattern only implemented to optionally support it if you return the header from your own application?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationRelated to documentation.msal-browserRelated to msal-browser packagepublic-clientIssues regarding PublicClientApplicationsquestionCustomer is asking for a clarification, use case or information.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions