Yeah, I found I was having issues with requests and Oauth2. Need to remove it at some point really.
Also Im storing my variables in a .env file as TWITCH_CLIENT_ID=‘REDACTED’ TWITCH_SECRET=‘REDACTED’