Description:
Users with incompleteUserDetails=true are being caught in an infinite redirect loop when accessing the /new-signup page. This happens because both the backend (website-backend auth redirect) and the frontend login service (app/services/login.js) keep redirecting the user to the signup page, without checking if they are already on /new-signup.
Steps to reproduce:
- Log in with a user that has
incompleteUserDetails=true.
- Attempt to access
/new-signup.
- Observe how the page keeps redirecting back to
/new-signup, preventing the user from proceeding.
Cause:
- Backend redirects to
new-signup page for users with incompleteUserDetails=true
- Frontend login service (
login.js) also automatically redirects users with incompleteUserDetails=true to /new-signup, even if they're already there.