You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6f671f1
Browse filesBrowse the repository at this point in the historyBrowse files
feat(webapp): optional Cloudflare Turnstile check on magic-link sign-in
Adds an optional Cloudflare Turnstile bot check to magic-link sign-in.
Set `TURNSTILE_SITE_KEY` and `TURNSTILE_SECRET_KEY` and the login page's
email form shows a Turnstile widget, invisible for most visitors. The
server verifies its token before sending a magic link. Requests with a
missing or invalid token are refused. If Cloudflare can't be reached,
the request is allowed and an error is logged, so email sign-in keeps
working during an outage. It's off unless both keys are set.
Mono-RevId: d220edeb85b98f7afb3e2074e004769c198f88e7
Self-hosted instances can add a Cloudflare Turnstile bot check to the magic-link sign-in form by setting `TURNSTILE_SITE_KEY` and `TURNSTILE_SECRET_KEY`. It's off unless both are set.
0 commit comments