The Angular app has been compiled with ng build --prod and deployed to the front end servers.
When we try and browse to the application in Chrome, if you look at the console. we are getting this error:
ERROR Error: Uncaught (in promise): BrowserAuthError: pkce_not_created: The PKCE code challenge and verifier could not be generated. Detail:TypeError: Cannot read property 'digest' of undefined
BrowserAuthError: pkce_not_created: The PKCE code challenge and verifier could not be generated. Detail:TypeError: Cannot read property 'digest' of undefined
This did not occur in our lower environments, dev or test.
Please follow the issue template below. Failure to do so will result in a delay in answering your question.
Library
@azure/msal-angular@0.x.x
@azure/msal-angular@1.x.x
@azure/msal-angular@2.0.0-alpha.6
Description
We have a angular 10 application that we have developed that is using MSAL.
We are in the process of trying to deploy it to our Qual environment for user acceptances testing.
The Azure Administrator has added the SPA url for our qual website (Example: https://somefunwebsite-q.domain.com)
The Angular app has been compiled with ng build --prod and deployed to the front end servers.
When we try and browse to the application in Chrome, if you look at the console. we are getting this error: ERROR Error: Uncaught (in promise): BrowserAuthError: pkce_not_created: The PKCE code challenge and verifier could not be generated. Detail:TypeError: Cannot read property 'digest' of undefined BrowserAuthError: pkce_not_created: The PKCE code challenge and verifier could not be generated. Detail:TypeError: Cannot read property 'digest' of undefined
This did not occur in our lower environments, dev or test.
What is wrong and how do I correct it?