Integrate Auth0 with Angular SSR

Hi @eliasruizdiaz,

Sorry for the delay in responding! Looking at the source code for auth0-spa-js, window.crypto is validated only if window is defined: auth0-spa-js/Auth0Client.ts at master · auth0/auth0-spa-js · GitHub

In your application, is window available even though it is SSR?

If an error is thrown in this case, I’d recommend opening up an issue in the repo directly so that the maintainers may assist. Issues · auth0/auth0-spa-js · GitHub