How to Fix SubtleCrypto: digest() undefined Error in Authgear SDK
Guide on how to fix SubtleCrypto: digest() non-HTTPS/Secure context Error in Authgear SDK
{
"stack": "TypeError: Cannot read properties of undefined (reading 'digest')\n at http://authgeartest.online/index.9bf4411c.js:1:219150\n at p (http://authgeartest.online/index.9bf4411c.js:1:148005)\n at o._invoke (http://authgeartest.online/index.9bf4411c.js:1:147765)\n at Generator.next (http://authgeartest.online/index.9bf4411c.js:1:148364)\n at e_ (http://authgeartest.online/index.9bf4411c.js:1:145029)\n at i (http://authgeartest.online/index.9bf4411c.js:1:145227)\n at http://authgeartest.online/index.9bf4411c.js:1:145288\n at new Promise (<anonymous>)\n at http://authgeartest.online/index.9bf4411c.js:1:145168\n at iz (http://authgeartest.online/index.9bf4411c.js:1:219441)",
"message": "Cannot read properties of undefined (reading 'digest')"
}{
"fileName": "http://you-app-url.com/index.9bf4411c.js",
"lineNumber": 1,
"columnNumber": 219125,
"message": "window.crypto.subtle is undefined"
}Fix
Last updated
Was this helpful?