Skip to content

[Page] /share/:token — public read-only placement view #20

@Venkat-Kolasani

Description

@Venkat-Kolasani

What

A public page that renders a share snapshot without requiring login.

Behaviour

  • Fetch share config from Supabase using token only
  • If expired or is_active = false → show "This link has expired or been revoked"
  • If passcode set → prompt for passcode before showing data
  • If valid → render selected companies and fields in card layout

Important

  • This route must be outside Clerk's auth wrapper
  • Anon Supabase key only — never expose user_id or owner identity
  • Footer: "Shared via FutureStack — futurestack.online"

Acceptance Criteria

  • Works without being logged in
  • Expired/revoked links show graceful error page, not 404
  • Passcode gate works if set
  • Mobile responsive
  • No owner identity leaked in page or network response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions