Repository navigation
Show team invitations in the app; invite email reads less like phishing - #170
Merged
Merged
Conversation
… like phishing An invitation could only be accepted through the emailed link. preshy@ was invited four times; Resend reports every one delivered to the profullstack.com MX, yet none was seen — and he already has a verified account. The email was the single point of failure. - GET /api/v1/me/invitations lists pending invitations matching the signed-in user's verified address; POST /api/v1/me/invitations/:id/accept joins without a token. Unverified addresses and other people's ids are refused. - The app shell shows a "X invited you to their team · Join" banner. - The email no longer says "a@x.com invited you to join a@x.com workspace": an unnamed (email-named) org reads "their team", the subject names the inviter, Reply-To is the inviter, and it says existing accounts will find the invitation on sign-in. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
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.
Why
Anthony invited preshy@profullstack.com and "he didn't get it". Prod facts (2026-10-12):
team.invited … sent: true; Resend shows today's (01a12f48…) as delivered to profullstack.com's MX (Forward Email). Sending domain verified + DKIM.What
GET /api/v1/me/invitations: pending invitations matching the signed-in user's verified address (excludes orgs already joined, expired and revoked ones).POST /api/v1/me/invitations/:id/accept: accept without a token; re-pins the session like the link does; audited withvia: in_app. Unverified addresses and other people's ids → 400 "not valid"."<inviter> invited you to OutreachGraph"; Reply-To is the inviter; it tells existing users the invite is waiting in their inbox; there's an "Accept the invitation" anchor and the raw link stays.Tests
apps/webtsc clean, prettier clean.🤖 Generated with Claude Code