Support Forums

Auth0 and React App working locally but not routing in production

We are working to integrate Auth0 into our React app and it works locally just fine, but in production/live its throwing page not found errors upon attempted login/registration. We have set several env variables in the UI of netlify such as Client ID, Client Secret, Auth0_Base_URL and Auth0 Secret. Any suggestions on what may be the issue?

Here is a view of the routes:

Thanks in advance!

Hi @aboeddeker10,

I believe this might be related to the page routing in React and not Auth0 as such. What happens when you try to add /* /index.html 200 as a redirect rule?