| 1. Microsft Edge and Microsoft Edge for Business | |
| .1 | Microsft Edge (Personal Profile) |
|
MSAL(Microsoft Authentication Library) using sessionStorage, localStorage, and Cookie
|
|
| .2 | Microsoft Edge for Business (Business Profile) |
|
AAD ( Azure Active Directory ) using third party cookies and localStorage
edge://settings/content/cookies
|
|
| msalInstance = new msal.PublicClientApplication(msalconfig); 코드가 Chrome에서는 작동하지만 Edge for Business에서는 작동하지 않는 경우 | |
| .1 |
Blocking third-party cookies
|
|
Microsoft Authentication Library (MSAL)** leverages sessionStorage or localStorage and cookies to maintain authentication status.
Edge for Business can restrict the use of third-party cookies or local storage, depending on your organization’s security policy. Enter edge://settings/content/cookies in the Edge address window → “block third-party cookies” setting. Tracking Prevention
edge://settings/privacy
Add https://menv.com/….stage in exception for site application domain
|
|
| .2 | Organizational policy or group policy on Edge |
| edge://policy CookiesAllowedForUrls, BlockThirdPartyCookies, PopupsBlocked |
|
| .3 | Block pop-up when using pop-up mode |
|
msalInstance.loginPopup()
=> edge://settings/content/popups
|
|
| .4 | Cache & Session Issue |
|
const msalConfig = {
auth: { clientId: “”, authority: “https://login.microsoftonline.com/common”, redirectUri: “https://…./….-stage/”, //navigateToLoginRequestUrl: true }, cache: { cacheLocation: “sessionStorage”, “localStorage”, storeAuthStateInCookie: true, //secureCookies: false }, system: { loggerOptions: { loggerCallback: (level: LogLevel, message: string, containsPii: boolean): void => { if (containsPii) { return; } switch (level) { case LogLevel.Error: console.error(message); return; case LogLevel.Info: console.info(message); return; case LogLevel.Verbose: console.debug(message); return; case LogLevel.Warning: console.warn(message); return; } }, piiLoggingEnabled: false }, windowHashTimeout: 60000, iframeHashTimeout: 6000, loadFrameTimeout: 0, asyncPopups: false }; } const msalInstance = new msal.PublicClientApplication(msalconfig)
|
|
|
Internet Properties
Trusted sites
https://login.microsoftonline.com
|
|