GET 'https://id.twitch.tv/oauth2/authorize?response_type=token&client_id=uo6dggojyb8d6soh92zknwmi5ej1q2&redirect_uri=http://localhost&scope=viewing_activity_read
with scope as viewing_activity_read
The OAuth token from this response works. Not sure why adding the scope=viewing_activity_read works but it works for me.
Also worth noting that for public data (such as games/top) you don’t need any scopes.
But if this is a server application, to routinely fetch/update games/top for your own use, you should be using client credentials as the token you have obtained will only work for 60 days or so