AzureAD / microsoft-authentication-library-for-js

Microsoft Authentication Library (MSAL) for JS
http://aka.ms/aadv2
MIT License
3.66k stars 2.65k forks source link

sample "Angular 16 MSAL Angular v3 Sample" configured for ADFS logs event "msal:loginFailure" #7120

Closed billvolt closed 5 months ago

billvolt commented 5 months ago

Core Library

MSAL.js (@azure/msal-browser)

Core Library Version

14.10.0

Wrapper Library

MSAL Angular (@azure/msal-angular)

Wrapper Library Version

3.0.17

Public or Confidential Client?

Public

Description

When configured for ADFS, this sample shows failures on the Edge developer console.

Error Message


app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : @azure/msal-common@14.10.0 : Trace - Error occurred in authorizationCodeClientExecutePostToTokenEndpoint
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : @azure/msal-common@14.10.0 : Trace - {"errorCode":"post_request_failed","errorMessage":"Network request failed: If the browser threw a CORS error, check that the redirectUri is registered in the Azure App Portal as type 'SPA'","subError":"","name":"BrowserAuthError"}
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : @azure/msal-common@14.10.0 : Trace - Error occurred in authClientExecuteTokenRequest
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : @azure/msal-common@14.10.0 : Trace - {"errorCode":"post_request_failed","errorMessage":"Network request failed: If the browser threw a CORS error, check that the redirectUri is registered in the Azure App Portal as type 'SPA'","subError":"","name":"BrowserAuthError"}
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getServerTelemetry: cache hit
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.setServerTelemetry called
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.cleanRequestByInteractionType called
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.resetRequestCache called
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getTemporaryCache: No cache item found in local storage
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getTemporaryCache: No cache item found in local storage
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - Error occurred in handleRedirectPromise
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - {"errorCode":"post_request_failed","errorMessage":"Network request failed: If the browser threw a CORS error, check that the redirectUri is registered in the Azure App Portal as type 'SPA'","subError":"","name":"BrowserAuthError","correlationId":"018fa0f5-a65c-75e7-ac97-717fb19f1ad4"}
app.module.ts:54 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Info - Emitting event: msal:loginFailure
app.module.ts:57 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - Emitting event to callback 018fa0f5-a999-7ffa-864a-4ea9ac54d1d0: msal:loginFailure
app.module.ts:54 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Info - Emitting event: msal:handleRedirectEnd
console

MSAL Logs

localhost/:10  [Deprecation] -ms-high-constrast is in the process of being deprecated. Please see https://blogs.windows.com/msedgedev/2020/09/17/styling-for-windows-high-contrast-with-new-standards-for-forced-colors/ for tips on updating to the new Forced Colors Mode standard.
localhost/:10  [Deprecation] -ms-high-constrast is in the process of being deprecated. Please see https://blogs.windows.com/msedgedev/2020/09/17/styling-for-windows-high-contrast-with-new-standards-for-forced-colors/ for tips on updating to the new Forced Colors Mode standard.
localhost/:1  [Deprecation] -ms-high-constrast is in the process of being deprecated. Please see https://blogs.windows.com/msedgedev/2020/09/17/styling-for-windows-high-contrast-with-new-standards-for-forced-colors/ for tips on updating to the new Forced Colors Mode standard.
localhost/:1  [Deprecation] -ms-high-constrast is in the process of being deprecated. Please see https://blogs.windows.com/msedgedev/2020/09/17/styling-for-windows-high-contrast-with-new-standards-for-forced-colors/ for tips on updating to the new Forced Colors Mode standard.
polyfills.js:1 [webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.
Navigated to http://localhost:4200/

        [NEW] Explain Console errors by using Copilot in Edge: click 
         to explain an error. 
        Learn more
        Don't show again
app.module.ts:57 [Wed, 22 May 2024 15:39:24 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - BrowserCrypto: modern crypto interface available
app.module.ts:63 [Wed, 22 May 2024 15:39:24 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager - createKeyMaps called.
app.module.ts:57 [Wed, 22 May 2024 15:39:24 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - Event callback registered with id: 018fa0f5-0856-7d98-9168-084331921c61
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - getAllAccounts called
app.module.ts:63 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getAccountKeys called
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - BrowserCacheManager.getAccountKeys - No account keys found
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - Adding account storage listener.
core.mjs:23480 Angular is running in development mode. Call enableProdMode() to enable production mode.
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-angular@3.0.17 : Verbose - MsalRedirectComponent activated
app.module.ts:63 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - initialize called
app.module.ts:54 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Info - Emitting event: msal:initializeStart
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - Emitting event to callback 018fa0f5-0856-7d98-9168-084331921c61: msal:initializeStart
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - Claims-based caching is disabled. Clearing the previous cache with claims
app.module.ts:63 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - Executing function clearTokensAndKeysWithClaims
app.module.ts:63 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getTokenKeys called
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - BrowserCacheManager.getTokenKeys - No token keys found
core.mjs:23480 Angular is running in development mode. Call enableProdMode() to enable production mode.
app.module.ts:63 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - Returning result from clearTokensAndKeysWithClaims
app.module.ts:54 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Info - Emitting event: msal:initializeEnd
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - Emitting event to callback 018fa0f5-0856-7d98-9168-084331921c61: msal:initializeEnd
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - handleRedirectPromise called
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - getAllAccounts called
app.module.ts:63 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getAccountKeys called
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - BrowserCacheManager.getAccountKeys - No account keys found
app.module.ts:63 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getCachedNativeRequest called
app.module.ts:63 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getTemporaryCache: No cache item found in local storage
app.module.ts:63 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getCachedNativeRequest: No cached native request found
app.module.ts:63 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getTemporaryCache: No cache item found in local storage
app.module.ts:54 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Info - Emitting event: msal:handleRedirectStart
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - Emitting event to callback 018fa0f5-0856-7d98-9168-084331921c61: msal:handleRedirectStart
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-angular@3.0.17 : Verbose - BroadcastService - msal:handleRedirectStart results in setting inProgress from startup to handleRedirect
app.module.ts:63 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - handleRedirectPromise - acquiring token from web flow
app.module.ts:63 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - Executing function handleRedirectPromise
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [018fa0f5-235f-7ccb-a6f1-63aab60f9360] : msal.js.browser@3.14.0 : Verbose - initializeServerTelemetryManager called
app.module.ts:63 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getTemporaryCache: No cache item found in local storage
app.module.ts:54 [Wed, 22 May 2024 15:39:31 GMT] : [018fa0f5-235f-7ccb-a6f1-63aab60f9360] : msal.js.browser@3.14.0 : Info - handleRedirectPromise called but there is no interaction in progress, returning null.
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - handleRedirectPromise has been called for the first time, storing the promise
app.module.ts:63 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - Returning result from handleRedirectPromise
app.module.ts:54 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Info - Emitting event: msal:handleRedirectEnd
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - Emitting event to callback 018fa0f5-0856-7d98-9168-084331921c61: msal:handleRedirectEnd
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/msal-angular@3.0.17 : Verbose - BroadcastService - msal:handleRedirectEnd results in setting inProgress from handleRedirect to none
app.module.ts:57 [Wed, 22 May 2024 15:39:32 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - getAllAccounts called
app.module.ts:63 [Wed, 22 May 2024 15:39:32 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getAccountKeys called
app.module.ts:57 [Wed, 22 May 2024 15:39:32 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - BrowserCacheManager.getAccountKeys - No account keys found
app.module.ts:63 [Wed, 22 May 2024 15:39:32 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getActiveAccount: No active account filters cache schema found, looking for legacy schema
app.module.ts:63 [Wed, 22 May 2024 15:39:32 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getActiveAccount: No active account found
app.module.ts:57 [Wed, 22 May 2024 15:39:32 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - getAllAccounts called
app.module.ts:63 [Wed, 22 May 2024 15:39:32 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getAccountKeys called
app.module.ts:57 [Wed, 22 May 2024 15:39:32 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - BrowserCacheManager.getAccountKeys - No account keys found
app.module.ts:57 [Wed, 22 May 2024 15:39:38 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - getAllAccounts called
app.module.ts:63 [Wed, 22 May 2024 15:39:38 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getAccountKeys called
app.module.ts:57 [Wed, 22 May 2024 15:39:38 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - BrowserCacheManager.getAccountKeys - No account keys found
index.js:551 [webpack-dev-server] Disconnected!
index.js:551 [webpack-dev-server] Trying to reconnect...
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : @azure/msal-browser@3.14.0 : Verbose - loginRedirect called
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : @azure/msal-browser@3.14.0 : Verbose - acquireTokenRedirect called
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getTemporaryCache: No cache item found in local storage
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - getAllAccounts called
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getAccountKeys called
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - BrowserCacheManager.getAccountKeys - No account keys found
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/msal-browser@3.14.0 : Info - Emitting event: msal:loginStart
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - Emitting event to callback 018fa0f5-0856-7d98-9168-084331921c61: msal:loginStart
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/msal-angular@3.0.17 : Verbose - BroadcastService - msal:loginStart results in setting inProgress from none to login
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Executing function standardInteractionClientInitializeAuthorizationRequest
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Verbose - getRedirectUri called
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Executing function initializeBaseRequest
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Verbose - Authentication Scheme wasn't explicitly set in request, defaulting to "Bearer" request
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Returning result from initializeBaseRequest
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getActiveAccount: No active account filters cache schema found, looking for legacy schema
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getActiveAccount: No active account found
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getTemporaryCache: No cache item found in local storage
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getTemporaryCache: No cache item found in local storage
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Returning result from standardInteractionClientInitializeAuthorizationRequest
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.updateCacheEntries called
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Verbose - initializeServerTelemetryManager called
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Executing function standardInteractionClientInitializeAuthorizationCodeRequest
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Executing function generatePkceCodes
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Executing function generateCodeVerifier
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Executing function getRandomValues
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Returning result from getRandomValues
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Returning result from generateCodeVerifier
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Executing function generateCodeChallengeFromVerifier
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Executing function sha256Digest
zone.js:1723 [Violation] 'click' handler took 7357ms
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Returning result from sha256Digest
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Returning result from generateCodeChallengeFromVerifier
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Returning result from generatePkceCodes
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Returning result from standardInteractionClientInitializeAuthorizationCodeRequest
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Executing function standardInteractionClientCreateAuthCodeClient
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Executing function standardInteractionClientGetClientConfiguration
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Executing function standardInteractionClientGetDiscoveredAuthority
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Executing function authorityFactoryCreateDiscoveredInstance
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Executing function authorityResolveEndpointsAsync
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Executing function authorityUpdateCloudDiscoveryMetadata
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Verbose - Attempting to get cloud discovery metadata  from authority configuration
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Verbose - Found cloud discovery metadata in authority configuration
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Returning result from authorityUpdateCloudDiscoveryMetadata
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Executing function authorityUpdateEndpointMetadata
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Verbose - Attempting to get endpoint metadata from authority configuration
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Verbose - Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values.
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Verbose - Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Executing function authorityGetEndpointMetadataFromNetwork
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Verbose - Authority.getEndpointMetadataFromNetwork: attempting to retrieve OAuth endpoints from https://fs.mydomain.com/adfs/.well-known/openid-configuration
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Returning result from authorityGetEndpointMetadataFromNetwork
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Returning result from authorityUpdateEndpointMetadata
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.setAuthorityMetadata called
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Returning result from authorityResolveEndpointsAsync
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Returning result from authorityFactoryCreateDiscoveredInstance
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Returning result from standardInteractionClientGetDiscoveredAuthority
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Returning result from standardInteractionClientGetClientConfiguration
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Returning result from standardInteractionClientCreateAuthCodeClient
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - isNativeAvailable called
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - isNativeAvailable: allowNativeBroker is not enabled, returning false
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : @azure/msal-common@14.10.0 : Trace - Executing function authClientCreateQueryString
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : @azure/msal-common@14.10.0 : Trace - Returning result from authClientCreateQueryString
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Verbose - RedirectHandler.initiateAuthRequest called
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Verbose - RedirectHandler.initiateAuthRequest: redirectStartPage set, caching start page
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.cacheCodeRequest called
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Verbose - RedirectHandler.initiateAuthRequest: Navigating window to navigate url
:4200/#code=h8dLj9U4vUiJ0SbA-gEErg.XJdoDnV63AgeAHUUcfjLwQA-aE0.mYiUEDKv4Rncrgo9-ydnO5s6HAiwXtP1ndBT4170KxhtyueL28GYzz3zRz5uk55iRxIwvZWM_iMTgOT9NAsXIxL94ReO9Ro9puM9V97WbV5Frle00s5mxvUMHfyXbWu4W65x9uXgCq4wzcoeRPiTcOizDdc9O-kPN1d0JkFzUviaEZPpo9_ilQeOxp7ijKHJbLRmrrl9qjg1PN2k6QeRLjbDtnkxLRtwOhLRhoD8pCqGe93fxTXYVEjWA5wpKGehxnEGxJ47_f6ypab-f62PlQMFKEE29WxrbyhHd5wyq6c5EuR7B-yYym8y5qkj1_UJU0SBv8gMzsumY-Rjz-n6-A6VBF0KJ4OJjCb7EtTTvtHlFW3EezdLZdx5Qv-7QzX7mBLvEjI6Wb-0OVhJUASMspN5URO9_InFZ3Le5TOSF9_wnBeyZ-6NRRJ3iBIIOiYrW2Cst3l6DKCJT7PJUEW_Zam1XXYVlxrsYQBsUoq19sud_AVS2E4_bMHjA2NCF2ZtMn_xkT-BnwWAtCxqjO9KMw6GDq43yng3iMokMi_W8gMMNjQerPwp5T2nEjwr7XhU6leo4Glg2dnNq8Kq_LrKSn9uQEYKjv0D2ZkNw50HiEyFRg-vOKBQvAVbi6AQAl0HOM29zVVqVOuSXjjE-1KcNSVM40tVQ26ZZIzuMrwi5FI&state=eyJpZCI6IjAxOGZhMGY1LWE2NjAtNzIyMS04ODRiLWRjZDY1YzZlMjZlYyIsIm1ldGEiOnsiaW50ZXJhY3Rpb25UeXBlIjoicmVkaXJlY3QifX0=:10  [Deprecation] -ms-high-constrast is in the process of being deprecated. Please see https://blogs.windows.com/msedgedev/2020/09/17/styling-for-windows-high-contrast-with-new-standards-for-forced-colors/ for tips on updating to the new Forced Colors Mode standard.
:4200/#code=h8dLj9U4vUiJ0SbA-gEErg.XJdoDnV63AgeAHUUcfjLwQA-aE0.mYiUEDKv4Rncrgo9-ydnO5s6HAiwXtP1ndBT4170KxhtyueL28GYzz3zRz5uk55iRxIwvZWM_iMTgOT9NAsXIxL94ReO9Ro9puM9V97WbV5Frle00s5mxvUMHfyXbWu4W65x9uXgCq4wzcoeRPiTcOizDdc9O-kPN1d0JkFzUviaEZPpo9_ilQeOxp7ijKHJbLRmrrl9qjg1PN2k6QeRLjbDtnkxLRtwOhLRhoD8pCqGe93fxTXYVEjWA5wpKGehxnEGxJ47_f6ypab-f62PlQMFKEE29WxrbyhHd5wyq6c5EuR7B-yYym8y5qkj1_UJU0SBv8gMzsumY-Rjz-n6-A6VBF0KJ4OJjCb7EtTTvtHlFW3EezdLZdx5Qv-7QzX7mBLvEjI6Wb-0OVhJUASMspN5URO9_InFZ3Le5TOSF9_wnBeyZ-6NRRJ3iBIIOiYrW2Cst3l6DKCJT7PJUEW_Zam1XXYVlxrsYQBsUoq19sud_AVS2E4_bMHjA2NCF2ZtMn_xkT-BnwWAtCxqjO9KMw6GDq43yng3iMokMi_W8gMMNjQerPwp5T2nEjwr7XhU6leo4Glg2dnNq8Kq_LrKSn9uQEYKjv0D2ZkNw50HiEyFRg-vOKBQvAVbi6AQAl0HOM29zVVqVOuSXjjE-1KcNSVM40tVQ26ZZIzuMrwi5FI&state=eyJpZCI6IjAxOGZhMGY1LWE2NjAtNzIyMS04ODRiLWRjZDY1YzZlMjZlYyIsIm1ldGEiOnsiaW50ZXJhY3Rpb25UeXBlIjoicmVkaXJlY3QifX0=:10  [Deprecation] -ms-high-constrast is in the process of being deprecated. Please see https://blogs.windows.com/msedgedev/2020/09/17/styling-for-windows-high-contrast-with-new-standards-for-forced-colors/ for tips on updating to the new Forced Colors Mode standard.
:4200/#code=h8dLj9U4vUiJ0SbA-gEErg.XJdoDnV63AgeAHUUcfjLwQA-aE0.mYiUEDKv4Rncrgo9-ydnO5s6HAiwXtP1ndBT4170KxhtyueL28GYzz3zRz5uk55iRxIwvZWM_iMTgOT9NAsXIxL94ReO9Ro9puM9V97WbV5Frle00s5mxvUMHfyXbWu4W65x9uXgCq4wzcoeRPiTcOizDdc9O-kPN1d0JkFzUviaEZPpo9_ilQeOxp7ijKHJbLRmrrl9qjg1PN2k6QeRLjbDtnkxLRtwOhLRhoD8pCqGe93fxTXYVEjWA5wpKGehxnEGxJ47_f6ypab-f62PlQMFKEE29WxrbyhHd5wyq6c5EuR7B-yYym8y5qkj1_UJU0SBv8gMzsumY-Rjz-n6-A6VBF0KJ4OJjCb7EtTTvtHlFW3EezdLZdx5Qv-7QzX7mBLvEjI6Wb-0OVhJUASMspN5URO9_InFZ3Le5TOSF9_wnBeyZ-6NRRJ3iBIIOiYrW2Cst3l6DKCJT7PJUEW_Zam1XXYVlxrsYQBsUoq19sud_AVS2E4_bMHjA2NCF2ZtMn_xkT-BnwWAtCxqjO9KMw6GDq43yng3iMokMi_W8gMMNjQerPwp5T2nEjwr7XhU6leo4Glg2dnNq8Kq_LrKSn9uQEYKjv0D2ZkNw50HiEyFRg-vOKBQvAVbi6AQAl0HOM29zVVqVOuSXjjE-1KcNSVM40tVQ26ZZIzuMrwi5FI&state=eyJpZCI6IjAxOGZhMGY1LWE2NjAtNzIyMS04ODRiLWRjZDY1YzZlMjZlYyIsIm1ldGEiOnsiaW50ZXJhY3Rpb25UeXBlIjoicmVkaXJlY3QifX0=:1  [Deprecation] -ms-high-constrast is in the process of being deprecated. Please see https://blogs.windows.com/msedgedev/2020/09/17/styling-for-windows-high-contrast-with-new-standards-for-forced-colors/ for tips on updating to the new Forced Colors Mode standard.
:4200/#code=h8dLj9U4vUiJ0SbA-gEErg.XJdoDnV63AgeAHUUcfjLwQA-aE0.mYiUEDKv4Rncrgo9-ydnO5s6HAiwXtP1ndBT4170KxhtyueL28GYzz3zRz5uk55iRxIwvZWM_iMTgOT9NAsXIxL94ReO9Ro9puM9V97WbV5Frle00s5mxvUMHfyXbWu4W65x9uXgCq4wzcoeRPiTcOizDdc9O-kPN1d0JkFzUviaEZPpo9_ilQeOxp7ijKHJbLRmrrl9qjg1PN2k6QeRLjbDtnkxLRtwOhLRhoD8pCqGe93fxTXYVEjWA5wpKGehxnEGxJ47_f6ypab-f62PlQMFKEE29WxrbyhHd5wyq6c5EuR7B-yYym8y5qkj1_UJU0SBv8gMzsumY-Rjz-n6-A6VBF0KJ4OJjCb7EtTTvtHlFW3EezdLZdx5Qv-7QzX7mBLvEjI6Wb-0OVhJUASMspN5URO9_InFZ3Le5TOSF9_wnBeyZ-6NRRJ3iBIIOiYrW2Cst3l6DKCJT7PJUEW_Zam1XXYVlxrsYQBsUoq19sud_AVS2E4_bMHjA2NCF2ZtMn_xkT-BnwWAtCxqjO9KMw6GDq43yng3iMokMi_W8gMMNjQerPwp5T2nEjwr7XhU6leo4Glg2dnNq8Kq_LrKSn9uQEYKjv0D2ZkNw50HiEyFRg-vOKBQvAVbi6AQAl0HOM29zVVqVOuSXjjE-1KcNSVM40tVQ26ZZIzuMrwi5FI&state=eyJpZCI6IjAxOGZhMGY1LWE2NjAtNzIyMS04ODRiLWRjZDY1YzZlMjZlYyIsIm1ldGEiOnsiaW50ZXJhY3Rpb25UeXBlIjoicmVkaXJlY3QifX0=:1  [Deprecation] -ms-high-constrast is in the process of being deprecated. Please see https://blogs.windows.com/msedgedev/2020/09/17/styling-for-windows-high-contrast-with-new-standards-for-forced-colors/ for tips on updating to the new Forced Colors Mode standard.
polyfills.js:1 [webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.
app.module.ts:57 [Wed, 22 May 2024 15:40:05 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - BrowserCrypto: modern crypto interface available
app.module.ts:63 [Wed, 22 May 2024 15:40:05 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager - createKeyMaps called.
app.module.ts:57 [Wed, 22 May 2024 15:40:05 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - Event callback registered with id: 018fa0f5-a999-7ffa-864a-4ea9ac54d1d0
Navigated to http://localhost:4200/
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - getAllAccounts called
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getAccountKeys called
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - BrowserCacheManager.getAccountKeys - No account keys found
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - Adding account storage listener.
core.mjs:23480 Angular is running in development mode. Call enableProdMode() to enable production mode.
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-angular@3.0.17 : Verbose - MsalRedirectComponent activated
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - initialize called
app.module.ts:54 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Info - Emitting event: msal:initializeStart
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - Emitting event to callback 018fa0f5-a999-7ffa-864a-4ea9ac54d1d0: msal:initializeStart
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - Claims-based caching is disabled. Clearing the previous cache with claims
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - Executing function clearTokensAndKeysWithClaims
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getTokenKeys called
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - BrowserCacheManager.getTokenKeys - No token keys found
core.mjs:23480 Angular is running in development mode. Call enableProdMode() to enable production mode.
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - Returning result from clearTokensAndKeysWithClaims
app.module.ts:54 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Info - Emitting event: msal:initializeEnd
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - Emitting event to callback 018fa0f5-a999-7ffa-864a-4ea9ac54d1d0: msal:initializeEnd
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - handleRedirectPromise called
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - getAllAccounts called
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getAccountKeys called
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - BrowserCacheManager.getAccountKeys - No account keys found
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getCachedNativeRequest called
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getTemporaryCache: No cache item found in local storage
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getCachedNativeRequest: No cached native request found
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getTemporaryCache: Temporary cache item returned
app.module.ts:54 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Info - Emitting event: msal:handleRedirectStart
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - Emitting event to callback 018fa0f5-a999-7ffa-864a-4ea9ac54d1d0: msal:handleRedirectStart
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-angular@3.0.17 : Verbose - BroadcastService - msal:handleRedirectStart results in setting inProgress from startup to handleRedirect
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - handleRedirectPromise - acquiring token from web flow
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - Executing function handleRedirectPromise
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Verbose - initializeServerTelemetryManager called
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getTemporaryCache: Temporary cache item returned
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Verbose - getRedirectResponseHash called
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Verbose - Hash contains known properties, returning response hash
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getTemporaryCache: Temporary cache item returned
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Verbose - Current page is loginRequestUrl, handling response
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getCachedRequest called
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getTemporaryCache: Temporary cache item returned
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Verbose - handleResponse called, retrieved cached request
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getTemporaryCache: Temporary cache item returned
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getTemporaryCache: Temporary cache item returned
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Executing function standardInteractionClientCreateAuthCodeClient
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Executing function standardInteractionClientGetClientConfiguration
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Executing function standardInteractionClientGetDiscoveredAuthority
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Executing function authorityFactoryCreateDiscoveredInstance
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Executing function authorityResolveEndpointsAsync
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Executing function authorityUpdateCloudDiscoveryMetadata
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Verbose - Attempting to get cloud discovery metadata  from authority configuration
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Verbose - The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Verbose - Found cloud discovery metadata in authority configuration
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - handleRedirectPromise has been called for the first time, storing the promise
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Returning result from authorityUpdateCloudDiscoveryMetadata
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Executing function authorityUpdateEndpointMetadata
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Verbose - Attempting to get endpoint metadata from authority configuration
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Verbose - Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values.
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Verbose - Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Executing function authorityGetEndpointMetadataFromNetwork
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Verbose - Authority.getEndpointMetadataFromNetwork: attempting to retrieve OAuth endpoints from https://fs.mydomain.com/adfs/.well-known/openid-configuration
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Returning result from authorityGetEndpointMetadataFromNetwork
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Returning result from authorityUpdateEndpointMetadata
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.setAuthorityMetadata called
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Returning result from authorityResolveEndpointsAsync
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Returning result from authorityFactoryCreateDiscoveredInstance
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Returning result from standardInteractionClientGetDiscoveredAuthority
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Returning result from standardInteractionClientGetClientConfiguration
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Trace - Returning result from standardInteractionClientCreateAuthCodeClient
app.module.ts:57 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : msal.js.browser@3.14.0 : Verbose - RedirectHandler.handleCodeResponse called
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getTemporaryCache: Temporary cache item returned
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getTemporaryCache: Temporary cache item returned
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getTemporaryCache: Temporary cache item returned
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getTemporaryCache: No cache item found in local storage
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : @azure/msal-common@14.10.0 : Trace - Executing function authClientExecuteTokenRequest
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : @azure/msal-common@14.10.0 : Trace - Executing function authClientCreateTokenRequestBody
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getServerTelemetry: cache hit
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : @azure/msal-common@14.10.0 : Trace - Returning result from authClientCreateTokenRequestBody
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : @azure/msal-common@14.10.0 : Trace - Executing function authorizationCodeClientExecutePostToTokenEndpoint
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getThrottlingCache: called, no cache hit
localhost/:1  Access to fetch at 'https://fs.mydomain.com/adfs/oauth2/token/' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
FetchClient.ts:77 

        POST https://fs.mydomain.com/adfs/oauth2/token/ net::ERR_FAILED 200 (OK)

app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : @azure/msal-common@14.10.0 : Trace - Error occurred in authorizationCodeClientExecutePostToTokenEndpoint
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : @azure/msal-common@14.10.0 : Trace - {"errorCode":"post_request_failed","errorMessage":"Network request failed: If the browser threw a CORS error, check that the redirectUri is registered in the Azure App Portal as type 'SPA'","subError":"","name":"BrowserAuthError"}
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : @azure/msal-common@14.10.0 : Trace - Error occurred in authClientExecuteTokenRequest
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : @azure/msal-common@14.10.0 : Trace - {"errorCode":"post_request_failed","errorMessage":"Network request failed: If the browser threw a CORS error, check that the redirectUri is registered in the Azure App Portal as type 'SPA'","subError":"","name":"BrowserAuthError"}
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getServerTelemetry: cache hit
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.setServerTelemetry called
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.cleanRequestByInteractionType called
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.resetRequestCache called
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getTemporaryCache: No cache item found in local storage
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getTemporaryCache: No cache item found in local storage
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - Error occurred in handleRedirectPromise
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - {"errorCode":"post_request_failed","errorMessage":"Network request failed: If the browser threw a CORS error, check that the redirectUri is registered in the Azure App Portal as type 'SPA'","subError":"","name":"BrowserAuthError","correlationId":"018fa0f5-a65c-75e7-ac97-717fb19f1ad4"}
app.module.ts:54 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Info - Emitting event: msal:loginFailure
app.module.ts:57 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - Emitting event to callback 018fa0f5-a999-7ffa-864a-4ea9ac54d1d0: msal:loginFailure
app.module.ts:54 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Info - Emitting event: msal:handleRedirectEnd
app.module.ts:57 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - Emitting event to callback 018fa0f5-a999-7ffa-864a-4ea9ac54d1d0: msal:handleRedirectEnd
app.module.ts:57 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/msal-angular@3.0.17 : Verbose - BroadcastService - msal:handleRedirectEnd results in setting inProgress from handleRedirect to none
app.module.ts:57 [Wed, 22 May 2024 15:40:21 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - getAllAccounts called
app.module.ts:63 [Wed, 22 May 2024 15:40:21 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getAccountKeys called
app.module.ts:57 [Wed, 22 May 2024 15:40:21 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - BrowserCacheManager.getAccountKeys - No account keys found
app.module.ts:63 [Wed, 22 May 2024 15:40:21 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getActiveAccount: No active account filters cache schema found, looking for legacy schema
app.module.ts:63 [Wed, 22 May 2024 15:40:21 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getActiveAccount: No active account found
app.module.ts:57 [Wed, 22 May 2024 15:40:21 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - getAllAccounts called
app.module.ts:63 [Wed, 22 May 2024 15:40:21 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getAccountKeys called
app.module.ts:57 [Wed, 22 May 2024 15:40:21 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - BrowserCacheManager.getAccountKeys - No account keys found
app.module.ts:57 [Wed, 22 May 2024 15:40:24 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - getAllAccounts called
app.module.ts:63 [Wed, 22 May 2024 15:40:24 GMT] : [] : @azure/msal-browser@3.14.0 : Trace - BrowserCacheManager.getAccountKeys called
app.module.ts:57 [Wed, 22 May 2024 15:40:24 GMT] : [] : @azure/msal-browser@3.14.0 : Verbose - BrowserCacheManager.getAccountKeys - No account keys found
FetchClient.ts:104  ERROR BrowserAuthError: post_request_failed: Network request failed: If the browser threw a CORS error, check that the redirectUri is registered in the Azure App Portal as type 'SPA'
    at createBrowserAuthError (BrowserAuthError.ts:351:12)
    at FetchClient.ts:84:45
    at Generator.throw (<anonymous>)
    at asyncGeneratorStep (asyncToGenerator.js:3:1)
    at _throw (asyncToGenerator.js:25:1)
    at _ZoneDelegate.invoke (zone.js:372:26)
    at Object.onInvoke (core.mjs:24210:33)
    at _ZoneDelegate.invoke (zone.js:371:52)
    at Zone.run (zone.js:134:43)
    at zone.js:1275:36

Network Trace (Preferrably Fiddler)

MSAL Configuration

revised excerpt of environment.ts
---------------------------------

export const environment = {
  production: false,
  msalConfig: {
      auth: {
          clientId: 'ENTER_CLIENT_ID',
          authority: 'ENTER_AUTHORITY',
          knownAuthorities: [] // array of domains that are known to be trusted
      }
  },
  apiConfig: {
      scopes: ['ENTER_SCOPE'],
      uri: 'ENTER_URI'
  }
};

revised excerpt of app.module.ts
--------------------------------

export function MSALInstanceFactory(): IPublicClientApplication {
  return new PublicClientApplication({
    auth: {
      clientId: environment.msalConfig.auth.clientId,
      authority: environment.msalConfig.auth.authority,
      knownAuthorities: environment.msalConfig.auth.knownAuthorities, // array of domains that are known to be trusted
      redirectUri: '/',
      postLogoutRedirectUri: '/'
    },
    cache: {
      cacheLocation: BrowserCacheLocation.LocalStorage
    },

    system: {
      allowNativeBroker: false, // Disables WAM Broker
      loggerOptions: {
      //  loggerCallback,
      //  logLevel: LogLevel.Info,
      //  piiLoggingEnabled: false

        logLevel: LogLevel.Trace,
        loggerCallback: (level, message, containsPii) => {
          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;
            default:
              console.log(message);
              return;
          }
        }

      }
    }

  });
}

revised excerpt of environment.dev.ts
-------------------------------------

export const environment = {
    production: false,
    msalConfig: {
        auth: {
              clientId: 'e5e38fe1-a478-479e-9d77-5e47626e2af2',  //'ENTER_CLIENT_ID',
              authority: 'https://fs.mydomain.com/adfs/', //'ENTER_AUTHORITY'
              knownAuthorities: ["fs.mydomain.com"] // array of domains that are known to be trusted
      }
  },
    apiConfig: {
        scopes: ['user.read'],
        uri: 'https://graph.microsoft.com/v1.0/me'
    }
};

Relevant Code Snippets

See sample at https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/samples/msal-angular-v3-samples/angular16-sample-app

Reproduction Steps

  1. Download MSAL from https://github.com/AzureAD/microsoft-authentication-library-for-js to C:\Users\myuser.mydomain\Documents\GitHub\microsoft-authentication-library-for-js

  2. Configure sample for ADFS authority, Client ID, and trace logging.

  3. C:\Users\myuser.mydomain\Documents\GitHub\microsoft-authentication-library-for-js\lib\msal-browser>npm run build:all

  4. C:\Users\myuser.mydomain\Documents\GitHub\microsoft-authentication-library-for-js\samples\msal-angular-v3-samples\angular16-sample-app>npm start

  5. Using Edge, access http://localhost:4200/

  6. Click Login, Login using Redirect.

Expected Behavior

Edge console should show neither CORS error nor msal:loginFailure.

It should fail to access user profile via Microsoft Graph. My intent is to replace that call with one to an ADFS-protected Web API.

Identity Provider

ADFS

Browsers Affected (Select all that apply)

Edge

Regression

N/A

Source

External (Customer)

hectormmg commented 5 months ago

@billvolt is your redirectURI properly configured ONLY as a SPA redirect URI?

billvolt commented 5 months ago

@billvolt is your redirectURI properly configured ONLY as a SPA redirect URI?

Thanks for your question, @hectormmg. I believe I do have the redirectURI properly configured as a SPA redirect URI. In the ADFS Application Group, in the Native Application, I have included http://localhost:4200.

billvolt commented 5 months ago

@billvolt is your redirectURI properly configured ONLY as a SPA redirect URI?

Hello @hectormmg. I'm writing to follow up. I replied to your question about the redirect URL. Are you able to provide any further input on this?