Reloading a Customized Login/Signup or Password Reset Page

Hi,

I have a two working react applications that customizes the login/signup and reset password flow.

However, if a user reloads the page manually a 404 “Not Found” is returned.

Reading through the documentations, it appears that the state parameter is invalid and this check is executed before the react-app. What’s interesting is this test does not fail using the universal login widget.

How would I handle this 404 “Not found” on a reload?

Thank you

have you found any solution?

Hello @nlx-dev!

If you are receiving a 404 error on refresh what is most likely happening is the url is put in incorrectly but can be reached the first time through an automatic redirect. I would suggest checking your network activity when refreshing the page to see if the refresh causes the url to change.

I also found some other reasons on why things may occur on refresh that are unexpected.

I hope this helps!

Best,
Alex

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.