Hi there,
I’m running a svelte app with auth0-spa-js (routing via routify).
Everything works perfectly locally, but on netlify I get the following errors:
{"errorType":"Runtime.UnhandledPromiseRejection","errorMessage":"Error: For security reasons,
window.cryptois required to run
auth0-spa-js.","trace":["Runtime.UnhandledPromiseRejection: Error: For security reasons,
window.cryptois required to run
auth0-spa-js."," at process.<anonymous> (/var/runtime/index.js:35:15)"," at process.emit (events.js:310:20)"," at processPromiseRejections (internal/process/promises.js:209:33)"," at processTicksAndRejections (internal/process/task_queues.js:98:32)"]}
I’m happy to share code, but honestly not sure where to start here? All sites have SSL activated.
Thanks for any assistance!