Repository navigation
Description
Parent epic: #2093
Priority
P0 — First shared Sites and external Widgets release.
User story
As a fan, I want to understand why I am connecting Spotify and still enjoy the experience when I skip music.
User journey
Open the experience on a phone → choose Listen while you play or Continue without music → play → optionally join the artist mailing list.
Acceptance criteria
- Explain the benefit and requested permissions in plain language; use real OAuth without asking for credentials inside generated content.
- Keep Spotify connection, entry into the experience, and marketing opt-in independent. OAuth completion never automatically creates a mailing-list subscription.
- Support connected Premium, non-Premium, skipped, denied, expired-session, popup-blocked, and playback-unavailable states with working recovery paths.
- Skipping, closing, or losing music playback must not trap the fan or erase game progress. Use fallback audio only when supplied through a supported source.
- Keep trusted auth/player controls outside generated code; provide keyboard focus handling, screen-reader labels, and usable mobile controls.
Owning code
Chat public entrance/player and OAuth; API signup consent contract if changed.
Use the epic's API-first/MCP, workspace authorization, database migration, docs, and explicit-publishing requirements.
Blocking dependencies
These are completion prerequisites, mirrored in GitHub’s blocked-by links. Design and contract work may start earlier. Other coordination references are not blockers.
Validation
Walk the full journey for each connection state on desktop and mobile, including no Spotify account. Verify signup consent remains independent and credentials never reach the generated frame.
Platform foundation alignment
This remains part of Sites epic #2093. Recoup Sites and external apps must share primitives, authorization, and billing. Coordinate with:
- [Widgets] Extract Spotify Sign-in and Webplayer backed by shared Fans services #2107
- [Widgets] Ship hosted embeds and SDK for Spotify Sign-in and Webplayer #2108
The Blocking dependencies section is authoritative. Campaign release follows the external integration proof gate; independent design/test work can proceed earlier.
Approved category and ownership
Spotify Sign-in is a Widget. Identity, fan-authorized Spotify connections, and subscriptions/consent belong to Fans. The widget presents the flow and consumes shared Fans operations; it must not create a separate fan store.
Parent epic #2093 defines Sites, Fans, and Widgets. Use those names in public documentation and MCP descriptions. Preserve existing functional requirements, dependencies, and authorization/billing boundaries.
Activity
[-][Sites] Separate Spotify connection, experience access, and fan signup[/-][+][Widgets] Separate Spotify sign-in, experience access, and fan signup[/+]sidneyswift commentedon Nov 6, 2026
Shipped: player focus and label fixes (#2380, #2386) and expired-session recovery that appears before any connected state (#2387). Spotify identity and marketing acceptance are stored separately (recoupable/api#936).
Still open: popup-blocked recovery that preserves progress (draft #2345, held for a native callback check), non-Premium and denied states, and a full desktop/mobile walk of every connection state with screen-reader checks.