Auth0.js: Error Using browser-only version of superagent in non-browser environment

Created on 30 Nov 2018  路  3Comments  路  Source: auth0/auth0.js

When upgrading from v9.6.1 to upper versions on the server I get following error:

Using browser-only version of superagent in non-browser environment

Node v8.8
OS: Linux/Mac

Most helpful comment

auth0.js is not meant to be used in a server environment.

All 3 comments

auth0.js is not meant to be used in a server environment.

How can we only import if on client ?

With auth0.js ever work in angular universal? I have no need to use it if it can't.

Was this page helpful?
0 / 5 - 0 ratings