prep: Making way for the planned 'Dashboard' page and correcting Twitch bot scope
This commit is contained in:
@@ -36,6 +36,7 @@ The goal is to create a service where streamers can log in using their platform
|
|||||||
### Phase 4: Integration & Refinement
|
### Phase 4: Integration & Refinement
|
||||||
1. **YouTube Integration:** Implement the full YouTube OAuth2 flow and integrate the `pytchat` listener into the dynamic listener manager.
|
1. **YouTube Integration:** Implement the full YouTube OAuth2 flow and integrate the `pytchat` listener into the dynamic listener manager.
|
||||||
2. **Advanced Overlay Customization:** Add more features for users to customize their overlay's appearance and behavior.
|
2. **Advanced Overlay Customization:** Add more features for users to customize their overlay's appearance and behavior.
|
||||||
|
3. **Twitch Chat Writeback:** Re-introduce the `chat:write` scope during authentication to allow the service (and potentially moderators, as per Issue #2) to send messages to the user's Twitch chat.
|
||||||
|
|
||||||
## 4. Requirements for Completion (Initial Version)
|
## 4. Requirements for Completion (Initial Version)
|
||||||
|
|
||||||
|
|||||||
2
auth.py
2
auth.py
@@ -29,7 +29,7 @@ async def login_with_twitch(request: Request):
|
|||||||
request.session['oauth_state'] = state
|
request.session['oauth_state'] = state
|
||||||
|
|
||||||
# As per RESEARCH_REPORT.md, these are the minimum required scopes
|
# As per RESEARCH_REPORT.md, these are the minimum required scopes
|
||||||
scopes = "chat:read chat:write"
|
scopes = "chat:read"
|
||||||
|
|
||||||
# Construct the authorization URL
|
# Construct the authorization URL
|
||||||
auth_url = (
|
auth_url = (
|
||||||
|
|||||||
Reference in New Issue
Block a user