feat(hub): email one-time-code sign-in
POST /v1/auth/email/start and /verify with HMAC-protected 8-digit codes (10 min, 5 tries, atomic single use), browser-bound via a __Host- cookie, same-origin checks, per-address/source/global rate limits and an injectable sender. Enabled in /v1/info only when SMTP is configured. Email identities use external_identities(provider='email') and never merge with GitHub.
This commit is contained in:
parent
f1883e5001
commit
cca084b0ae
20 changed files with 1756 additions and 59 deletions
|
|
@ -2,7 +2,8 @@
|
|||
|
||||
Current target: `central.loki-code.dev`, Ubuntu22.04, Nginx443 terminating HTTPS;
|
||||
Hub listener `127.0.0.1:37623` (randomly selected free port). The foundation has no
|
||||
public email-send/auth/registry/friends/DM endpoints. See `hub/README.md` for exact
|
||||
public email-send/registry/friends/DM endpoints. Sign-in endpoints are GitHub and, when SMTP
|
||||
is configured, email one-time codes (`hub/AUTH.md`). See `hub/README.md` for exact
|
||||
capability status. SMTP sender display name is Vnox, address `noreply@loki-code.dev`.
|
||||
|
||||
## Layout
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue