Skip to content

Internal testing || Branch - dev-invite-existing-user || Invite Code Flow Redirects Existing Users to Signup Instead of Join Flow #262

@poojaustad

Description

@poojaustad

Describe the bug
Invite Code Flow Redirects Existing Users to Signup Instead of Join Flow. The invite code button on the login screen will confuse an existing user trying to join a class or a family member.

To Reproduce
Steps to reproduce the behavior:

  1. Admin creates a class
  2. Admin sends invite code to an existing student user
  3. Existing user tries joining class using invite code from Login screen
  4. Go to the login screen
  5. Tap “I have an invite code.”
  6. Enter a valid code
  7. Invitation screen displayed
  8. Tap “Next.”
  9. User is redirected to the new user signup flow instead of the existing user join flow

Expected behavior

When a user selects “I have an invite code” on the login screen and enters a valid code, the system should correctly identify the user status and route them appropriately:

Existing users: Should be directed to the class/family join flow and immediately added to the invited class after verification.
New users: Should be guided through the signup flow before joining the class.

The flow should not redirect existing users to the signup process when a valid invite code is entered.

Screen record

az_recorder_20260521_120826.online-video-cutter.com.mp4

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions