Angular sample project with Chrome

I followed the Quickstart guide and also tried with sample project .
it works fine with firefox
but when i try it from Chrome (desktop ) and android chrome , when trying to login i get typescript error .

main-es2015.3379ed1d3780456c449b.js:1 ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'digest' of undefined
TypeError: Cannot read property 'digest' of undefined
    at R (main-es2015.3379ed1d3780456c449b.js:1)
    at ne.<anonymous> (main-es2015.3379ed1d3780456c449b.js:1)
    at Generator.next (<anonymous>)
    at main-es2015.3379ed1d3780456c449b.js:1
    at new R (polyfills-es2015.5728f680576ca47e99fe.js:1)
    at t (main-es2015.3379ed1d3780456c449b.js:1)
    at ne.loginWithRedirect (main-es2015.3379ed1d3780456c449b.js:1)
    at $b.<anonymous> (main-es2015.3379ed1d3780456c449b.js:1)
    at Generator.next (<anonymous>)
    at main-es2015.3379ed1d3780456c449b.js:1
    at P (polyfills-es2015.5728f680576ca47e99fe.js:1)
    at polyfills-es2015.5728f680576ca47e99fe.js:1
    at l (main-es2015.3379ed1d3780456c449b.js:1)
    at a.invoke (polyfills-es2015.5728f680576ca47e99fe.js:1)
    at Object.onInvoke (main-es2015.3379ed1d3780456c449b.js:1)
    at a.invoke (polyfills-es2015.5728f680576ca47e99fe.js:1)
    at t.run (polyfills-es2015.5728f680576ca47e99fe.js:1)
    at polyfills-es2015.5728f680576ca47e99fe.js:1
    at a.invokeTask (polyfills-es2015.5728f680576ca47e99fe.js:1)
    at Object.onInvokeTask (main-es2015.3379ed1d3780456c449b.js:1)

Any one can help?

Seems to be similar to this, at least the error message:

yes but here for angular , not sure if there is a work around here ?

Issue happen due to non secure origin , when using localhost or https(secure origin) , it was resolved .

1 Like

Thanks a lot for sharing it with the rest of community!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.