Repository navigation
Send an invited address with no account to sign up, not to a sign-in that can't find it - #2187
Merged
Merged
Conversation
davidmckayv
requested review from
MikeRyanDev,
dustywusty,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
November 25, 2026 07:50
…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
force-pushed
the
fix/invitee-goes-to-sign-up
branch
from
November 25, 2026 07:59
6472993 to
04e8a1f
Compare
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-invitewith__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-invitenow carries__clerk_status=sign_upon to the hosted sign-in asinvitationSignUp=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:invitationSignUp=true, the ticket and the organization. Fails onmain(Expected: "true", Received: null), passes here;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.