Skip to content

feat(cloud): make org invites shareable via HTTPS deep-link handoff - #552

Open
beruro wants to merge 3 commits into
developfrom
junyu/deep-link-org-joining
Open

feat(cloud): make org invites shareable via HTTPS deep-link handoff#552
beruro wants to merge 3 commits into
developfrom
junyu/deep-link-org-joining

Conversation

@beruro

@beruro beruro commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

Problem

Custom-scheme organization invite links are awkward to share through Slack and social surfaces, and a second application instance may not forward deep links safely to the running ORG2 process.

Solution

  • Generate HTTPS handoff links while keeping the invite capability in the URL fragment.
  • Preserve direct orgii://cloud/join and legacy HTTPS query-link compatibility while rejecting foreign URLs.
  • Enable single-instance deep-link forwarding and restore or recreate the main window without logging capability-bearing argv.
  • Preserve the current develop two-card invite UI while updating it to HTTPS handoff semantics.
  • Validation: 71 focused Vitest tests, TypeScript typecheck, targeted ESLint, Rust check/rustfmt, diff check, handoff-site tests, and manual second-account acceptance.

Potential risks

  • The deployed HTTPS handoff site is an external runtime dependency: https://orgii-invite-link.atah2000.chatgpt.site/
  • Platform-specific single-instance and deep-link behavior still needs release-bundle coverage on macOS, Windows, and Linux.
  • Invite capabilities must never be logged or moved from the URL fragment into server-visible request data.

@beruro
beruro force-pushed the junyu/deep-link-org-joining branch 3 times, most recently from 817c7f3 to e5059f6 Compare July 30, 2026 08:04
@beruro
beruro force-pushed the junyu/deep-link-org-joining branch from e5059f6 to 43d6529 Compare July 30, 2026 15:11
@Harry19081

Copy link
Copy Markdown
Member

@Neonforge98 Can you investigate how to deploy this?

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.

2 participants