9983d565

By: Michael Lynch <git@mtlynch.io>

Revise dev-mode auth to use token confirmation page

Dev mode now generates a real token and redirects to the same
confirmation page as production, instead of authenticating
directly on email lookup. This exercises the full token
consumption code path in dev and e2e tests.

Also add two-step token consumption (GET renders page, POST
consumes token) to handle email security scanners that
pre-click links in emails.

Co-authored-by: Shelley <shelley@exe.dev>

Suite timing

Time to Start Worker time Duration Time to finish
Config 6s 1s 1s 7s
Eval 8s 1m23s 1m23s 1m31s
Build 17m08s 1m47s - -
Test - - - -
Deploy - - - -
Suite 6s 3m12s - -

Timeline

0s10s20s30s40s50s1m1m10s1m20s1m30s17m10s17m20s17m30s17m40s17m50s18m18m10s