Skip to content

feat(public-urls): open any page already signed in, in Localify's look - #103

Merged
teo-goulois merged 1 commit into
mainfrom
feat/public-url-sign-in-links
Nov 23, 2026
Merged

teo-goulois merged 1 commit into
mainfrom
feat/public-url-sign-in-links

Conversation

@teo-goulois

Copy link
Copy Markdown
Contributor

What

  • Zero-click links. A link with the password signs a browser in and acknowledges the warning together, on a first visit too. A wrong password acknowledges nothing and shows the warning again ("the password in this link no longer works" for a stale link).
  • Land on a page. /__localify/access?next=<path>#<password> opens that page after signing in, same host only (safeNext).
  • localify public-url link <page> and MCP public_url_link. They turn a local page (https://web--feature.journal.localify/orders/42) or a public one into the sign-in link on its public host, wildcard environments included.
  • Pages in Localify's look, minimal. Logo, Geist, neutral greys, light and dark. Each page shows a title, the host and the form; the warning's details sit behind a ? (no script needed).

ADR 0036 amends ADR 0026 and records the accepted phishing risk. Contract and user guide updated.

Checks

  • pnpm cloud:typecheck, pnpm cloud:test (450)
  • cargo fmt, cargo clippy -- -D warnings, cargo test
  • pnpm web:typecheck. pnpm web:build fails locally because Next.js's security-version gate blocks the build; that also happens without this change.

A link with the password now signs a browser in with no click, even on its
first visit, and `?next=` lands it on one page. `localify public-url link`
and the MCP tool `public_url_link` turn a local page into that link on its
public host, so an agent can put the user on the exact page it means.

The Worker's pages are restyled to Localify's look and say less: the
warning's details sit behind a `?` next to the heading.

ADR 0036 amends ADR 0026 and records the accepted phishing risk.
@teo-goulois
teo-goulois merged commit a802cd5 into main Nov 23, 2026
5 checks passed
@teo-goulois
teo-goulois deleted the feat/public-url-sign-in-links branch November 23, 2026 15:26
@teo-goulois teo-goulois mentioned this pull request Nov 23, 2026
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