Skip to content

fix: infinite redirect loop for new signup page when user has incompleteUserDetails=true #1132

@MayankBansal12

Description

@MayankBansal12

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:

  1. Log in with a user that has incompleteUserDetails=true.
  2. Attempt to access /new-signup.
  3. 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.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions