Fix magic-link sign-in: implicit flow + redirect to /account #138

Merged
will.anderson merged 1 commits from fix/magic-link-flow into dev 2026-05-12 19:33:07 +00:00

1 Commits

Author SHA1 Message Date
will.anderson b6aecd7d89 Fix magic-link sign-in: implicit flow + redirect to /account
Dev — Build & local smoke test / build-smoke (pull_request) Successful in 1m42s
account-auth.el was using flowType:'pkce' while account-dashboard.el
uses 'implicit'. After the OTP redirect, the dashboard's implicit
client couldn't exchange the PKCE code — so the sign-in silently
failed. Fix: match implicit flow across both clients.

Also adds emailRedirectTo so the link lands on /account instead of
the site root.
2026-05-12 14:32:39 -05:00