Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 of 2 tasks
billvolt opened this issue May 22, 2024 · 3 comments
Closed
1 of 2 tasks
Labels
adfs Related to ADFS bug-unconfirmed A reported bug that needs to be investigated and confirmed msal-angular Related to @azure/msal-angular package msal-browser Related to msal-browser package Needs: Attention 👋 Awaiting response from the MSAL.js team no-issue-activity Issue author has not responded in 5 days public-client Issues regarding PublicClientApplications question Customer is asking for a clarification, use case or information.

Comments

@billvolt
Copy link
Contributor

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/[email protected] : Trace - Error occurred in authorizationCodeClientExecutePostToTokenEndpoint
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : @azure/[email protected] : 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/[email protected] : Trace - Error occurred in authClientExecuteTokenRequest
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : @azure/[email protected] : 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/[email protected] : Trace - BrowserCacheManager.getServerTelemetry: cache hit
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.setServerTelemetry called
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.cleanRequestByInteractionType called
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.resetRequestCache called
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getTemporaryCache: No cache item found in local storage
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getTemporaryCache: No cache item found in local storage
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/[email protected] : Trace - Error occurred in handleRedirectPromise
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/[email protected] : 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/[email protected] : Info - Emitting event: msal:loginFailure
app.module.ts:57 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/[email protected] : 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/[email protected] : 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/[email protected] : Verbose - BrowserCrypto: modern crypto interface available
app.module.ts:63 [Wed, 22 May 2024 15:39:24 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager - createKeyMaps called.
app.module.ts:57 [Wed, 22 May 2024 15:39:24 GMT] : [] : @azure/[email protected] : Verbose - Event callback registered with id: 018fa0f5-0856-7d98-9168-084331921c61
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/[email protected] : Verbose - getAllAccounts called
app.module.ts:63 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getAccountKeys called
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/[email protected] : Verbose - BrowserCacheManager.getAccountKeys - No account keys found
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/[email protected] : 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/[email protected] : Verbose - MsalRedirectComponent activated
app.module.ts:63 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/[email protected] : Trace - initialize called
app.module.ts:54 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/[email protected] : Info - Emitting event: msal:initializeStart
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/[email protected] : 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/[email protected] : 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/[email protected] : Trace - Executing function clearTokensAndKeysWithClaims
app.module.ts:63 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getTokenKeys called
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/[email protected] : 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/[email protected] : Trace - Returning result from clearTokensAndKeysWithClaims
app.module.ts:54 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/[email protected] : Info - Emitting event: msal:initializeEnd
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/[email protected] : 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/[email protected] : Verbose - handleRedirectPromise called
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/[email protected] : Verbose - getAllAccounts called
app.module.ts:63 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getAccountKeys called
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/[email protected] : Verbose - BrowserCacheManager.getAccountKeys - No account keys found
app.module.ts:63 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getCachedNativeRequest called
app.module.ts:63 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getTemporaryCache: No cache item found in local storage
app.module.ts:63 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getCachedNativeRequest: No cached native request found
app.module.ts:63 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getTemporaryCache: No cache item found in local storage
app.module.ts:54 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/[email protected] : Info - Emitting event: msal:handleRedirectStart
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/[email protected] : 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/[email protected] : 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/[email protected] : Trace - handleRedirectPromise - acquiring token from web flow
app.module.ts:63 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/[email protected] : Trace - Executing function handleRedirectPromise
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [018fa0f5-235f-7ccb-a6f1-63aab60f9360] : [email protected] : Verbose - initializeServerTelemetryManager called
app.module.ts:63 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/[email protected] : 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] : [email protected] : 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/[email protected] : 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/[email protected] : Trace - Returning result from handleRedirectPromise
app.module.ts:54 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/[email protected] : Info - Emitting event: msal:handleRedirectEnd
app.module.ts:57 [Wed, 22 May 2024 15:39:31 GMT] : [] : @azure/[email protected] : 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/[email protected] : 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/[email protected] : Verbose - getAllAccounts called
app.module.ts:63 [Wed, 22 May 2024 15:39:32 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getAccountKeys called
app.module.ts:57 [Wed, 22 May 2024 15:39:32 GMT] : [] : @azure/[email protected] : Verbose - BrowserCacheManager.getAccountKeys - No account keys found
app.module.ts:63 [Wed, 22 May 2024 15:39:32 GMT] : [] : @azure/[email protected] : 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/[email protected] : Trace - BrowserCacheManager.getActiveAccount: No active account found
app.module.ts:57 [Wed, 22 May 2024 15:39:32 GMT] : [] : @azure/[email protected] : Verbose - getAllAccounts called
app.module.ts:63 [Wed, 22 May 2024 15:39:32 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getAccountKeys called
app.module.ts:57 [Wed, 22 May 2024 15:39:32 GMT] : [] : @azure/[email protected] : Verbose - BrowserCacheManager.getAccountKeys - No account keys found
app.module.ts:57 [Wed, 22 May 2024 15:39:38 GMT] : [] : @azure/[email protected] : Verbose - getAllAccounts called
app.module.ts:63 [Wed, 22 May 2024 15:39:38 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getAccountKeys called
app.module.ts:57 [Wed, 22 May 2024 15:39:38 GMT] : [] : @azure/[email protected] : 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/[email protected] : Verbose - loginRedirect called
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : @azure/[email protected] : Verbose - acquireTokenRedirect called
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getTemporaryCache: No cache item found in local storage
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/[email protected] : Verbose - getAllAccounts called
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getAccountKeys called
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/[email protected] : Verbose - BrowserCacheManager.getAccountKeys - No account keys found
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/[email protected] : Info - Emitting event: msal:loginStart
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/[email protected] : Verbose - Emitting event to callback 018fa0f5-0856-7d98-9168-084331921c61: msal:loginStart
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/[email protected] : 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] : [email protected] : Trace - Executing function standardInteractionClientInitializeAuthorizationRequest
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Verbose - getRedirectUri called
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Executing function initializeBaseRequest
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : 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] : [email protected] : Trace - Returning result from initializeBaseRequest
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getActiveAccount: No active account filters cache schema found, looking for legacy schema
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getActiveAccount: No active account found
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getTemporaryCache: No cache item found in local storage
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getTemporaryCache: No cache item found in local storage
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Returning result from standardInteractionClientInitializeAuthorizationRequest
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.updateCacheEntries called
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Verbose - initializeServerTelemetryManager called
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Executing function standardInteractionClientInitializeAuthorizationCodeRequest
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Executing function generatePkceCodes
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Executing function generateCodeVerifier
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Executing function getRandomValues
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Returning result from getRandomValues
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Returning result from generateCodeVerifier
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Executing function generateCodeChallengeFromVerifier
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : 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] : [email protected] : Trace - Returning result from sha256Digest
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Returning result from generateCodeChallengeFromVerifier
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Returning result from generatePkceCodes
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Returning result from standardInteractionClientInitializeAuthorizationCodeRequest
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Executing function standardInteractionClientCreateAuthCodeClient
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Executing function standardInteractionClientGetClientConfiguration
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Executing function standardInteractionClientGetDiscoveredAuthority
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Executing function authorityFactoryCreateDiscoveredInstance
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Executing function authorityResolveEndpointsAsync
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Executing function authorityUpdateCloudDiscoveryMetadata
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Verbose - Attempting to get cloud discovery metadata  from authority configuration
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : 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] : [email protected] : Verbose - Found cloud discovery metadata in authority configuration
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Returning result from authorityUpdateCloudDiscoveryMetadata
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Executing function authorityUpdateEndpointMetadata
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Verbose - Attempting to get endpoint metadata from authority configuration
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : 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] : [email protected] : 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] : [email protected] : Trace - Executing function authorityGetEndpointMetadataFromNetwork
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : 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] : [email protected] : Trace - Returning result from authorityGetEndpointMetadataFromNetwork
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Returning result from authorityUpdateEndpointMetadata
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.setAuthorityMetadata called
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Returning result from authorityResolveEndpointsAsync
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Returning result from authorityFactoryCreateDiscoveredInstance
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Returning result from standardInteractionClientGetDiscoveredAuthority
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Returning result from standardInteractionClientGetClientConfiguration
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Returning result from standardInteractionClientCreateAuthCodeClient
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - isNativeAvailable called
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - isNativeAvailable: allowNativeBroker is not enabled, returning false
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : @azure/[email protected] : Trace - Executing function authClientCreateQueryString
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : @azure/[email protected] : Trace - Returning result from authClientCreateQueryString
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Verbose - RedirectHandler.initiateAuthRequest called
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Verbose - RedirectHandler.initiateAuthRequest: redirectStartPage set, caching start page
 [Wed, 22 May 2024 15:40:04 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.cacheCodeRequest called
 [Wed, 22 May 2024 15:40:04 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : 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/[email protected] : Verbose - BrowserCrypto: modern crypto interface available
app.module.ts:63 [Wed, 22 May 2024 15:40:05 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager - createKeyMaps called.
app.module.ts:57 [Wed, 22 May 2024 15:40:05 GMT] : [] : @azure/[email protected] : 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/[email protected] : Verbose - getAllAccounts called
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getAccountKeys called
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/[email protected] : Verbose - BrowserCacheManager.getAccountKeys - No account keys found
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/[email protected] : 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/[email protected] : Verbose - MsalRedirectComponent activated
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/[email protected] : Trace - initialize called
app.module.ts:54 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/[email protected] : Info - Emitting event: msal:initializeStart
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/[email protected] : 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/[email protected] : 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/[email protected] : Trace - Executing function clearTokensAndKeysWithClaims
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getTokenKeys called
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/[email protected] : 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/[email protected] : Trace - Returning result from clearTokensAndKeysWithClaims
app.module.ts:54 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/[email protected] : Info - Emitting event: msal:initializeEnd
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/[email protected] : 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/[email protected] : Verbose - handleRedirectPromise called
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/[email protected] : Verbose - getAllAccounts called
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getAccountKeys called
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/[email protected] : Verbose - BrowserCacheManager.getAccountKeys - No account keys found
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getCachedNativeRequest called
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getTemporaryCache: No cache item found in local storage
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getCachedNativeRequest: No cached native request found
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getTemporaryCache: Temporary cache item returned
app.module.ts:54 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/[email protected] : Info - Emitting event: msal:handleRedirectStart
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/[email protected] : 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/[email protected] : 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/[email protected] : Trace - handleRedirectPromise - acquiring token from web flow
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/[email protected] : Trace - Executing function handleRedirectPromise
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Verbose - initializeServerTelemetryManager called
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getTemporaryCache: Temporary cache item returned
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Verbose - getRedirectResponseHash called
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Verbose - Hash contains known properties, returning response hash
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getTemporaryCache: Temporary cache item returned
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Verbose - Current page is loginRequestUrl, handling response
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getCachedRequest called
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getTemporaryCache: Temporary cache item returned
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Verbose - handleResponse called, retrieved cached request
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getTemporaryCache: Temporary cache item returned
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getTemporaryCache: Temporary cache item returned
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Executing function standardInteractionClientCreateAuthCodeClient
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Executing function standardInteractionClientGetClientConfiguration
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Executing function standardInteractionClientGetDiscoveredAuthority
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Executing function authorityFactoryCreateDiscoveredInstance
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Executing function authorityResolveEndpointsAsync
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Executing function authorityUpdateCloudDiscoveryMetadata
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : 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] : [email protected] : 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] : [email protected] : Verbose - Found cloud discovery metadata in authority configuration
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [] : @azure/[email protected] : 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] : [email protected] : Trace - Returning result from authorityUpdateCloudDiscoveryMetadata
app.module.ts:63 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Executing function authorityUpdateEndpointMetadata
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : 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] : [email protected] : 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] : [email protected] : 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] : [email protected] : Trace - Executing function authorityGetEndpointMetadataFromNetwork
app.module.ts:57 [Wed, 22 May 2024 15:40:14 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : 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] : [email protected] : Trace - Returning result from authorityGetEndpointMetadataFromNetwork
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Returning result from authorityUpdateEndpointMetadata
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.setAuthorityMetadata called
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Returning result from authorityResolveEndpointsAsync
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Returning result from authorityFactoryCreateDiscoveredInstance
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Returning result from standardInteractionClientGetDiscoveredAuthority
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Returning result from standardInteractionClientGetClientConfiguration
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Trace - Returning result from standardInteractionClientCreateAuthCodeClient
app.module.ts:57 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : [email protected] : Verbose - RedirectHandler.handleCodeResponse called
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getTemporaryCache: Temporary cache item returned
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getTemporaryCache: Temporary cache item returned
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getTemporaryCache: Temporary cache item returned
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/[email protected] : 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/[email protected] : Trace - Executing function authClientExecuteTokenRequest
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : @azure/[email protected] : Trace - Executing function authClientCreateTokenRequestBody
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getServerTelemetry: cache hit
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : @azure/[email protected] : Trace - Returning result from authClientCreateTokenRequestBody
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : @azure/[email protected] : Trace - Executing function authorizationCodeClientExecutePostToTokenEndpoint
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/[email protected] : 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/[email protected] : Trace - Error occurred in authorizationCodeClientExecutePostToTokenEndpoint
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : @azure/[email protected] : 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/[email protected] : Trace - Error occurred in authClientExecuteTokenRequest
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [018fa0f5-a65c-75e7-ac97-717fb19f1ad4] : @azure/[email protected] : 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/[email protected] : Trace - BrowserCacheManager.getServerTelemetry: cache hit
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.setServerTelemetry called
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.cleanRequestByInteractionType called
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.resetRequestCache called
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getTemporaryCache: No cache item found in local storage
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getTemporaryCache: No cache item found in local storage
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/[email protected] : Trace - Error occurred in handleRedirectPromise
app.module.ts:63 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/[email protected] : 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/[email protected] : Info - Emitting event: msal:loginFailure
app.module.ts:57 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/[email protected] : 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/[email protected] : Info - Emitting event: msal:handleRedirectEnd
app.module.ts:57 [Wed, 22 May 2024 15:40:17 GMT] : [] : @azure/[email protected] : 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/[email protected] : 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/[email protected] : Verbose - getAllAccounts called
app.module.ts:63 [Wed, 22 May 2024 15:40:21 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getAccountKeys called
app.module.ts:57 [Wed, 22 May 2024 15:40:21 GMT] : [] : @azure/[email protected] : Verbose - BrowserCacheManager.getAccountKeys - No account keys found
app.module.ts:63 [Wed, 22 May 2024 15:40:21 GMT] : [] : @azure/[email protected] : 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/[email protected] : Trace - BrowserCacheManager.getActiveAccount: No active account found
app.module.ts:57 [Wed, 22 May 2024 15:40:21 GMT] : [] : @azure/[email protected] : Verbose - getAllAccounts called
app.module.ts:63 [Wed, 22 May 2024 15:40:21 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getAccountKeys called
app.module.ts:57 [Wed, 22 May 2024 15:40:21 GMT] : [] : @azure/[email protected] : Verbose - BrowserCacheManager.getAccountKeys - No account keys found
app.module.ts:57 [Wed, 22 May 2024 15:40:24 GMT] : [] : @azure/[email protected] : Verbose - getAllAccounts called
app.module.ts:63 [Wed, 22 May 2024 15:40:24 GMT] : [] : @azure/[email protected] : Trace - BrowserCacheManager.getAccountKeys called
app.module.ts:57 [Wed, 22 May 2024 15:40:24 GMT] : [] : @azure/[email protected] : 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)

  • Sent
  • Pending

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)

@billvolt billvolt added bug-unconfirmed A reported bug that needs to be investigated and confirmed question Customer is asking for a clarification, use case or information. labels May 22, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: Attention 👋 Awaiting response from the MSAL.js team label May 22, 2024
@github-actions github-actions bot added adfs Related to ADFS msal-angular Related to @azure/msal-angular package msal-browser Related to msal-browser package public-client Issues regarding PublicClientApplications labels May 22, 2024
@hectormmg
Copy link
Member

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

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs: Author Feedback Awaiting response from issue author and removed Needs: Attention 👋 Awaiting response from the MSAL.js team labels May 22, 2024
@billvolt
Copy link
Contributor Author

billvolt commented May 22, 2024

@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.

@microsoft-github-policy-service microsoft-github-policy-service bot added the no-issue-activity Issue author has not responded in 5 days label May 28, 2024
@billvolt
Copy link
Contributor Author

@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?

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs: Attention 👋 Awaiting response from the MSAL.js team and removed Needs: Author Feedback Awaiting response from issue author labels May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adfs Related to ADFS bug-unconfirmed A reported bug that needs to be investigated and confirmed msal-angular Related to @azure/msal-angular package msal-browser Related to msal-browser package Needs: Attention 👋 Awaiting response from the MSAL.js team no-issue-activity Issue author has not responded in 5 days public-client Issues regarding PublicClientApplications question Customer is asking for a clarification, use case or information.
Projects
None yet
Development

No branches or pull requests

2 participants