What is the browser support for the new auth0-spa-sdk?

I’m using the new auth0-spa-sdk in a React project, using CRA, following the getting started guide. But I can’t get it working in IE11.

To get it working in Edge I had to add a polyfill for TextEncoder.

However for IE11 there is an error in the file auth0-spa-js.production.js when calling crypto.getRandomValues(new Uint8Array(43)); AND window.crypto.subtle.digest({ name: 'SHA-256' }, new TextEncoder().encode(s));

As far as i know crypto isn’t available in IE11 but msCrypto is.

The official support matrix is available here:

I am clarifying whether the linked section “Lock and Authentication” refers to the auth0-spa-js as well and will get back to you.


So there are obviously issues with IE, see this Github ticket and pull request, which you can track:

A fixed version should be out tomorrow.

1 Like

thanks for taking the time to reply. Following the issue that you linked to. I won’t raise another for the crypto stuff till the new release is out.

1 Like

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