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?
Hi, Auth0 used to work as expected in my application, then I enabled the Identity feature in Netlify and Auth0 stopped working, using https://u-bell.com/api/auth/login
doesn’t reach the page. The application still working as expected locally.
All ENV Variable are set already.
Already deploy clearing the cache, removed the identity feature, but still not working.
I see in previous good deploys is Using Next.js Runtime - v4.25.0
With wrong deploys Using Next.js Runtime - v4.27.1
Hey @roadhacker,
I just checked now and your site appears to work fine. Have you resolved this?
Yes now is working. The root cause was a bug with the netlify next.js runtime plugin. Netlify already fix that and force version Next.js Runtime - to v4.26.0. for builds
1 Like
Thanks for coming back and letting us know-- glad you are unblocked now! We apologize for the delay in our initial response to you.