mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-04-19 12:59:12 +01:00
Revert "MSAL browser migration changes"
This reverts commit b855094fb1.
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* MSAL COOP Redirect Bridge
|
||||
*
|
||||
* This page handles the authentication response from the Identity Provider (IdP)
|
||||
* and broadcasts it to the main application frame. Required for msal-browser v5+
|
||||
* to securely handle auth responses when the IdP sets Cross-Origin-Opener-Policy headers.
|
||||
*
|
||||
* Security Note: This file must be bundled with your application, NOT loaded from a CDN.
|
||||
*
|
||||
* CG Alert: MVS-2026-vmmw-f85q
|
||||
*/
|
||||
import { broadcastResponseToMainFrame } from "@azure/msal-browser/redirect-bridge";
|
||||
|
||||
broadcastResponseToMainFrame().catch((error: unknown) => {
|
||||
console.error("MSAL redirect bridge error:", error);
|
||||
});
|
||||
Reference in New Issue
Block a user