Skip to content

Bug: Users remain in pending invites table after successful authentication #19208

@blink-so

Description

@blink-so

Description

Users who successfully authenticate via invite links are not being moved from the pending invites table to the members table. They remain stuck in the pending state despite having completed the authentication process.

Expected Behavior

After a user successfully authenticates using an invite link, they should:

  1. Be removed from the pending invites table
  2. Appear in the members table with appropriate permissions
  3. Have full access to the organization

Actual Behavior

Users remain in the pending invites table indefinitely, even after successful authentication.

Impact

  • Users may have access but appear as "pending" in admin UI
  • Potential confusion about user status
  • May affect user permissions or access levels
  • Admin experience is degraded due to inaccurate pending list

Additional Context

  • This may be related to recent invite link updates
  • Could be a database transaction issue or state management problem
  • May affect both email invites and "Anyone with link" invites

Steps to Reproduce

  1. Send an invite to a user (email or link)
  2. User completes authentication process
  3. Check pending invites table - user still appears
  4. Check members table - user may or may not appear

Priority

High - Affects user onboarding flow and admin visibility

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions