Wasting a lot of time searching solutions from internet, I fix the same issue on my own.
The only thing you need to do is to use HTTPS instead of HTTP. MSAL only support HPPTS.
It works in my scenario, and wish it helps.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi
I build the angular universal and MSAL B2C project and that has an error BrowserAuthError: crypto_nonexistent.
Thank you.
BrowserAuthError: crypto_nonexistent: The crypto object or function is not available. Detail:Browser crypto, msCrypto, or msrCrypto interfaces not available.
After run build:ssr and dev:ssr
"@azure/msal-angular": "^2.5.7",
"@azure/msal-browser": "2.37",
"@angular/core": "^15.0.2",
"@nguniversal/express-engine": "^15.2.1",
Wasting a lot of time searching solutions from internet, I fix the same issue on my own.
The only thing you need to do is to use HTTPS instead of HTTP. MSAL only support HPPTS.
It works in my scenario, and wish it helps.
Any responses?