Login with twitch returning unreadable text

may work

new Buffer(input).toString()

I don’t use the promise version of request, but if you have a “buffer” that should do it