lindstrm / twitcha

53 stars 1 forks source link

unable to connect to twitch. #13

Closed imFlipp closed 8 years ago

imFlipp commented 8 years ago

After logging in I get a plain text message involving which is something along the lines of "<redirect="http://api.twitch" and nothing happens.

lindstrm commented 8 years ago

Is it still an issue? Might have been something on Twitch's end.

jmaartenson commented 8 years ago

I get the same issue, {"redirect":"https://secure.twitch.tv/passport/callback?client_id=... etcetera etcetera, and it never redirects to you.

lindstrm commented 8 years ago

Ok, thanks! I'll look into it.

lindstrm commented 8 years ago

Yep, Twitch changed the way you login using OAuth without even documenting it... :clap:

V1an commented 8 years ago

I wanted to raise the same issue, instead of that, i want to thanks you for this great tool, I can finally watch twitch on my old computer with more than 5 IPS :D

lindstrm commented 8 years ago

Thanks @V1an :) The issue should be resolved with the latest update.

adriancretu commented 8 years ago

Hi. Can I ask how you fixed this? Is there a documented change somewhere, or did you redirected yourself to the URL from the JSON response? (which qualifies as a dirty hack in my opinion). I noticed that a bad username or password also responds with a JSON instead of showing up an error page. The Twitch staff seems to be on vacation when it comes to obvious bugs in their own API.

lindstrm commented 8 years ago

@adriancretu Took a while to figure out, but the login page couldn't load jQuery, so in my case it worked when I disabled node integration for that window and then it worked as before.