Public Portal Starter

Passwordless login with Workers KV

This route demonstrates how to wire a non-Shopify portal into the scaffold with magic-link authentication, cookie-backed sessions, and route-level middleware.

  • Requests a sign-in link with a one-time token.
  • Exchanges the token for a secure cookie on this same route.
  • Redirects authenticated visitors into a protected portal page.

Email me a login link

Use any email address while wiring your real portal flows. The slice already connects to the shared email service wrapper.