Closed brandonmp closed 7 years ago
outdated docs problem looks like. someone can close if you like but I'm going to leave open, as your auto-generated docs seem to point to the v8 sdk (on your CDN) but still include syntax for v7, so that at least seems like an open issue
This issue is fixed by last commit https://github.com/auth0-samples/auth0-react-sample/commit/4d278d5c60ac9f1d9f062d835dfe06cf9ebd5270
Hi @brandonmp and @Amialc ,
I am still facing this issue. I just followed those auto-generated docs and stumbled upon this error:
TypeError: __WEBPACK_IMPORTED_MODULE_3_auth0_js__.webAuth is not a constructor
In my package.json I have below:
"auth0-js": "^8.9.1",
Please let me know the solution.
Reproduce:
Clone this repo
populate
.env
npm install
/npm start
in 02-Custom-Logingo to localhost:3000
Error:
Also happens when I try to replicate the
AuthService
class in my app.Tangential, but is there some serious flux in the
auth0
sdks recently? This is the third or fourth Auth0 React starter kit I've tried today where I've hit a dead-end just by following auth0 docs/tutorials. Willing to accept that I'm botching it over-and-over somehow, but haven't had this kind of trouble in the past w/ other auth providers.