auth0 / auth0-spa-js

Auth0 authentication for Single Page Applications (SPA) with PKCE
MIT License
921 stars 362 forks source link

Cannot read property 'forEach' of undefined #235

Closed javierGnz closed 5 years ago

javierGnz commented 5 years ago

Hi, so i implement auth0 in my react app, but happen this

image

i not sure what is the problem, i have the configuration right and copied almost equals the tutorial and if i create a new proyect and implement this in the proyect work, but in the proyect that i need dosent work, any idea ? someone else that happen this ?

luisrudge commented 5 years ago

From the stacktrace in your error, this comes from the react-auth0-spa.js file, which we mention in our quickstart. It's not an issue with this SDK. Please take a look at our quickstart repo. You can clone it and compare with yours to figure it out where it's going wrong. https://github.com/auth0-samples/auth0-react-samples/