Skip to content

Send an invited address with no account to sign up, not to a sign-in that can't find it - #2187

Merged
davidmckayv merged 1 commit into
mainfrom
fix/invitee-goes-to-sign-up
Nov 25, 2026
Merged

davidmckayv merged 1 commit into
mainfrom
fix/invitee-goes-to-sign-up

Conversation

@davidmckayv

@davidmckayv davidmckayv commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

What was wrong

On OpenBot Cloud, somebody invited to an organization who had no account yet opened the invitation and landed on the hosted sign-in with "User not found. If you don't have an account, sign up first to accept this invitation." and no way to sign up. Anyone invited who didn't have an account yet couldn't get in.

The invitation's link already says whether the address is new: it arrives at /accept-invite with __clerk_status=sign_up. The page dropped that and sent everyone to the hosted sign-in with the ticket, which can only sign in an existing account.

The fix

/accept-invite now carries __clerk_status=sign_up on to the hosted sign-in as invitationSignUp=true, next to the ticket and the organization. The hosted sign-in then opens its sign-up with the ticket (the address comes from the invitation, nothing to type or verify), and the person lands in the organization with the invitation accepted. An address that already has an account (sign_in) and an invitation already accepted (complete) go as before.

No wording or visual change on OpenBot's side.

Tests

app/tests/accept-invite.test.tsx, the real route and sign-in gate against a real local HTTP server:

  • regression: an invited address with no account is sent on with invitationSignUp=true, the ticket and the organization. Fails on main (Expected: "true", Received: null), passes here;
  • an address that already has an account is never sent to sign up.

End to end in headless Chromium and WebKit on a hosted test stack (real sign-in service in test mode): the invitation link arrives with __clerk_status=sign_up, the person lands on "Create your OpenBot account" asking only for a name and password, and after it works in the invited organization as a member, invitation accepted and listed among the organization's members.

…that can't find it

Somebody invited to an organization on a hosted OpenBot who had no account yet opened the
invitation and landed on the hosted sign-in with "User not found" and no way to sign up. The
invitation's link already says the address is new (`__clerk_status=sign_up`); the accept-invite
page now carries that on to the hosted sign-in as `invitationSignUp=true`, so the person is sent
to sign up with the invitation, then lands in the organization.
@davidmckayv
davidmckayv force-pushed the fix/invitee-goes-to-sign-up branch from 6472993 to 04e8a1f Compare November 25, 2026 07:59
@davidmckayv
davidmckayv merged commit 7cda392 into main Nov 25, 2026
23 checks passed
@davidmckayv
davidmckayv deleted the fix/invitee-goes-to-sign-up branch November 25, 2026 08:09
davidmckayv added a commit that referenced this pull request Nov 25, 2026
Unreleased gains, from the code of each change since rc.5 (OpenBot main
a9ba3fe to 25d50a1, and the server since rc.5's): a Bot's work folded with a
shimmer on the running step (#2201), long tasks that keep going instead of
stopping as too long (#2184), a push to your phone when a Bot finishes while
you're away and a conversation marked read only while it's seen (#2192), an
invited address with no account signing up (#2187), the version on screen on
OpenBot Cloud (#2197), Setup's model row as the reader's AI (#2185), Admin's
managed-updates and favicon requests (#2186), the screen guide's Open apps and
Every Bot, the pre-upgrade backup of every database with a restore command,
and the API's invitationSignUp and setup checklist wording.

release-policy.json: fromVersions adds v1.2.0-rc.5 and database.from adds its
last migration, 0181_organization_ai_sign_in_credentials.
davidmckayv added a commit that referenced this pull request Nov 25, 2026
Unreleased gains, from the code of each change since rc.5 (OpenBot main
a9ba3fe to 25d50a1, and the server since rc.5's): a Bot's work folded with a
shimmer on the running step (#2201), long tasks that keep going instead of
stopping as too long (#2184), a push to your phone when a Bot finishes while
you're away and a conversation marked read only while it's seen (#2192), an
invited address with no account signing up (#2187), the version on screen on
OpenBot Cloud (#2197), Setup's model row as the reader's AI (#2185), Admin's
managed-updates and favicon requests (#2186), the screen guide's Open apps and
Every Bot, the pre-upgrade backup of every database with a restore command,
and the API's invitationSignUp and setup checklist wording.

release-policy.json: fromVersions adds v1.2.0-rc.5 and database.from adds its
last migration, 0181_organization_ai_sign_in_credentials.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant