I am wondering how to redirect to another page after doing the login with Auth0. I am not sure if my authentication is wrong or that my code logic is off. I am building this React web app, and I am trying to have a log in button, once clicked it will take you to the Auth0 login, and after successful login, it will direct you to the home page. Any assistance would be appreciated.
The Logs say this after login: type: Failed Exchange and description: Unauthorized
This is the image of index.tsx in React
This is the image of Login.tsx in React
This is the image of app.tsx in React