Well theres your problem.
You tried to GET the twitch login page, instead of redirecting the user to the login page.
As covered here, in your original post where I also touched on Discord