Skip to content

Commit

Permalink
Significantly reduced the amount of OAuth scopes requested during log…
Browse files Browse the repository at this point in the history
…in process
  • Loading branch information
DevilXD committed Sep 18, 2024
1 parent cffda7f commit cc7c4c1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions twitch.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,7 @@ async def _oauth_login(self) -> str:
}
payload = {
"client_id": client_info.CLIENT_ID,
"scopes": (
"channel_read chat:read user_blocks_edit "
"user_blocks_read user_follows_edit user_read"
),
"scopes": "user_read",
}
while True:
try:
Expand Down

0 comments on commit cc7c4c1

Please sign in to comment.