Support multiple authenticated Twitch and YouTube accounts per alert #97
Labels
No labels
auth
autorelease: pending
autorelease: tagged
bug
dependencies
devops
docker
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
javascript
maintenance
question
refactor
ui
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gitchegumi/GitchAlerts#97
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The app needs to support more than one authenticated Twitch account and more than one authenticated YouTube account.
Authenticating multiple accounts is only useful if alerts can target specific accounts. An alert should not automatically fire for every authenticated account just because the workspace has access to those accounts.
The Alerts editor needs account targeting controls so each alert/listener can decide which authenticated account or accounts it listens to.
Required behavior
Users should be able to:
Alerts editor requirements
In the Alerts editor, add an account targeting control for platform-backed alerts.
Expected behavior:
Event matching / firing behavior
When an event arrives from Twitch or YouTube, the alert matching logic must check both:
An alert should only fire if the incoming event's platform account/channel matches one of the alert's selected authenticated accounts.
Data model considerations
Implement whatever data model is appropriate, but the system needs a durable relationship between:
Potential approaches:
Do not rely only on "primary account" behavior. Primary account may be useful as a default, but it is not enough for this feature.
Acceptance criteria
Notes
There is still broader work needed on the Alerts editor, but this issue is specifically for authenticated account targeting and multi-account alert scoping.
The goal is to make multi-account authentication safe and predictable before the editor grows more complex.