feat: finalize ticket merging and speaker-aware imports
This commit is contained in:
1 parent
648daa0794
commit
4e71e9b797
35 files changed
+1772
-348
No files matched your search
@@ -52,7 +52,8 @@ uses the normal app's check-in gate. See [portal API behavior](./api-client.md#s
|
||||
|
||||
## Login
|
||||
|
||||
A 3-step flow: **splash → scan → confirm**.
|
||||
A QR flow (**splash → scan → confirm**) and an admin email branch share the
|
||||
same entry field.
|
||||
|
||||
1. **Splash** — "APPE / Break the ice. Earn the points." Tap anywhere to continue.
|
||||
2. **Scan** — scan (or type) your lanyard QR. Calls `lanyardLookup(qrToken)` to
|
||||
@@ -71,9 +72,27 @@ A 3-step flow: **splash → scan → confirm**.
|
||||
mismatch, an error is shown ("Email and QR code do not match" for attendees,
|
||||
"That password is incorrect" for staff).
|
||||
|
||||
> This normal QR login sends no email; the separate speaker portal uses magic links. See
|
||||
> [../architecture.md#6-authentication-model](../architecture.md#6-authentication-model)
|
||||
> and [../backend/rls.md](../backend/rls.md).
|
||||
Entering a valid email instead of a QR requests a magic link only when the
|
||||
address belongs to an existing Auth user with server-backed admin eligibility.
|
||||
Whitespace and case are normalized; malformed emails show a validation error
|
||||
without a QR lookup. Enter submits the field. Sending locks controls; a
|
||||
successful request starts a 60-second resend cooldown, while QR entry remains
|
||||
available. Eligible and ineligible addresses receive the same confirmation.
|
||||
Network and rate-limit failures show a generic recoverable error.
|
||||
|
||||
The `/auth/callback` route verifies the Auth user and calls `is_admin()` before
|
||||
admitting the session. Editable user metadata is not an authorization source.
|
||||
Invalid, expired and non-admin callbacks clear the local session and return to
|
||||
the entry field. Tokens/codes are scrubbed before auth calls, and callback
|
||||
consumption is shared across StrictMode mounts.
|
||||
|
||||
Admins stay in Convivo with its existing Staff scan mode; there is no redirect
|
||||
to the admin domain and no registration or physical check-in requirement for
|
||||
admins. Login does not create accounts, registrations, attendance or points.
|
||||
Attendee QR login retains its checked-in gate and staff QR login retains its
|
||||
password confirmation. The separate speaker portal remains independent. See
|
||||
[admin entry API behavior](./api-client.md#admin-email-entry) and
|
||||
[authorization](../backend/rls.md).
|
||||
|
||||
## Home
|
||||
|
||||
|
||||
Reference in new issue
Block a user