auth0-developer-hub / spa_react_javascript_hello-world

This JavaScript code sample demonstrates how to implement authentication in a React application that uses React Router 6. You can integrate the Auth0 React SDK with React Router 6 to create route guards in React.
Apache License 2.0
64 stars 86 forks source link

Api || Package - Error #4

Closed iAsure closed 1 year ago

iAsure commented 1 year ago

I get this error every time the user logs in, it keeps repeating after login, every time I try to access a path protected by Auth (/profile for example) Error... Cannot read properties of undefined (reading 'send')

I already tried to use several Auth0 applications with their different clientId, everything else is correct, I don't understand why it really happens.

Steps to follow to repeat the error:

Full URL Error:

http://localhost:4040/callback?error=access_denied&error_description=Cannot%20read%20properties%20of%20undefined%20(reading%20%27send%27)&state=VHRZbDhFcXNNQXV0VUYuVVd4eHYuSlRHYU05emlxdEo1SjZMazhhdEp6eA%3D%3D

Image Example

Error