mirror of
https://github.com/corazoncp/zoom-sched-poc.git
synced 2026-12-01 04:50:31 +00:00
- README.md: document gated zoom_start_url, payment_processing guard, 64 KiB cap, single-worker Docker note, and doc links - ARCHITECTURE.md: document component responsibilities, SQLite appointment state machine, and trust boundaries - docs/adr/0001-transient-credentials-and-gated-host-url.md: record decision for browser-memory-only credentials and gated host URL
1.4 KiB
1.4 KiB
ADR-0001: Transient Zoom Credentials and Gated Host URL
- Status: Accepted
- Date: 2026-11-21
- Context:
zoom-sched-pocis a public-facing proof-of-concept demo allowing Azu to test end-to-end Zoom scheduling with her own Server-to-Server OAuth app without deploying an authentication gateway (Authelia) or persisting third-party secrets on the homelab server.
Decision
- Transient browser-memory credentials: Zoom
account_id,client_id, andclient_secretare entered in Screen 1, held solely in browser tab memory, and transmitted per request over HTTPS (SecretStrin Pydantic). They are never stored in SQLite, session cookies, or server environment files. - Gated
zoom_start_url: UnauthenticatedGET /api/appointments/<lookup_id>omitszoom_start_url(which embeds a Zoom host ZAK token) and returns only client-safe metadata (zoom_join_url,zoom_meeting_id).zoom_start_urlis returned only fromPOST /api/appointments/<lookup_id>/payafter verifying the caller's Zoom credentials viazoom.get_access_token.
Consequences
- Positive: Eliminates server-side secret storage and prevents anyone holding a
session_id/payment_idfrom hijacking host controls via unauthenticatedGETlookup. - Negative / Trade-off: Refreshing the browser tab requires re-entering Zoom credentials in Screen 1, and Screen 3
BUSCARlookup alone does not display the host link unless payment is confirmed in the same flow.