mirror of
https://github.com/corazoncp/zoom-sched-poc.git
synced 2026-12-01 04:50:31 +00:00
- Remove Traefik reverse-proxy node and stale branch reference from ARCHITECTURE.md so the topology describes only what the repo contains (Flask + Gunicorn + SQLite + Zoom API) - Remove Authelia and homelab server references from docs/adr/0001-transient-credentials-and-gated-host-url.md
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 standalone proof-of-concept demo allowing a host to test end-to-end Zoom scheduling with a Server-to-Server OAuth app without deploying an authentication layer or persisting third-party secrets on the 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.