From cc7c4c1ab93b351adb15b1a81c470b4900cd6ec3 Mon Sep 17 00:00:00 2001 From: DevilXD <4180725+DevilXD@users.noreply.github.com> Date: Wed, 18 Sep 2024 22:00:25 +0200 Subject: [PATCH] Significantly reduced the amount of OAuth scopes requested during login process --- twitch.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/twitch.py b/twitch.py index eed507f..860402e 100644 --- a/twitch.py +++ b/twitch.py @@ -123,10 +123,7 @@ class _AuthState: } 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: