1
0
mirror of git://f0xx.org/ac/ac-ms-identity synced 2026-07-30 02:37:39 +03:00
Anton Afanasyeu cefde609cb feat(2fa): cross-device approval via QR scan (WhatsApp-style)
- AuthApproval: mint/approve/consume/poll one-time tokens stored in new
  auth_approvals table (TTL 300s, SHA-256 IP hash for geo audit)
- AuthEmailSchema: add auth_approvals migration; fix missing index on
  auth_attempts (SQLite path)
- AuthTwoFactorPage: QR now encodes /two-factor/approve?token=<T> instead
  of the hub URL; stores raw_token in session for polling; short URL with
  ?src=qr tracking preserved
- Auth: add completeTotpLoginByApproval(), clearPending2fa clears token,
  clientIp() helper (X-Forwarded-For aware)
- bootstrap: require AuthApproval.php

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 22:49:39 +02:00
2026-06-23 12:29:30 +02:00
2026-06-23 12:29:30 +02:00
2026-06-23 12:29:30 +02:00
2026-06-23 12:29:30 +02:00
2026-06-23 12:29:30 +02:00

ac-ms-identity

Microservice API. Remote: git://f0xx.org/ac/ac-ms-identity

Description
Pull mirror of git://f0xx.org/ac/ac-ms-identity
Readme 431 KiB
Languages
PHP 100%