WP: ChatBot

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
  • IE 모드 비활성화:

    • edge://settings/defaultBrowser로 이동합니다.

    • Internet Explorer 모드에서 사이트를 다시 로드하도록 허용 옵션을 허용 안 함으로 변경하거나,

    • Internet Explorer 모드 페이지 목록에서 해당 사이트를 제거해달라고 조직의 IT 관리자에게 요청해야 합니다.

.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
Posted by