Not found error when I click reload page when routing to different route

Hi Everyone,

I have been encountering an issue with my custom login page, where when I route to a different route in my app for example going from login to register and then click on the reload button, the page goes blank and shows up with ‘Not found’.

This does not happen in the base login route which has the following edited query params attached:


When I route to different route the query params from auth0 is gone. This leads me to believe the query params needs to stay in order to reload the page?

If anyone has any info on what I am doing wrong please let me know.

We are using React 17 and auth0js