Using that causes a browser to open to http://livestreamer.tanuki.se/en/develop/twitch_oauth.html?error=redirect_mismatch&error_description=Parameter+redirect_uri+does+not+match+registered+URI In the main.py file this link is show http://streamlink.tanuki.se/en/develop/twitch_oauth.html when it should link to this https://streamlink.github.io/twitch_oauth.html https://github.com/streamlink/streamlink/blob/master/src/streamlink_cli/main.py#L536
https://github.com/streamlink/streamlink/issues/4#issuecomment-261737748
Good catch @thinkpad4, I've prepped a PR to address this.
Glad to help
@gravyboat Strange thing, I manually changed the link in the main.py file, and using that command it still goes to http://livestreamer.tanuki.se/en/develop/twitch_oauth.html?error=redirect_mismatch&error_description=Parameter+redirect_uri+does+not+match+registered+URI. Could there be a sneak code somewhere else that is overriding the one in main.py?
Could there be a sneak code somewhere else that is overriding the one in main.py?
Check the redirect URI of the app's settings. Twitch may ignore the url parameter and use this instead. I'm not sure, though.

Hmm, I grepped through the entire repo and changed it in the only location it wasn't compiled. I think @bastimeyer might have the right idea.
@gravyboat https://discuss.dev.twitch.tv/t/redirect-mismatch/1695/6
and
https://discuss.dev.twitch.tv/t/redirect-mismatch-again/2126/4
and
https://discuss.dev.twitch.tv/t/parameter-redirect-uri-does-not-match-registered-uri/5912
I hope this helps
Did you guys register Streamlink with Twitch? http://i.imgur.com/4x3C0vt.jpg
I hope it is that simple
I would say @cdrage or @sbstp needs to register Streamlink on Twitch http://i.imgur.com/4x3C0vt.jpg and put Name - Streamlink, and Redirect URL - https://streamlink.github.io/twitch_oauth.html then replace the Client ID in Twitch.py with the new Client ID then --twitch-oauth-authenticate will correctly work
@thinkpad4 is correct, a lot of this was discussed on #4 but got lost down the cracks...
Who wants to create a twitch app to get a new client id with an updated redirect url? @gravyboat, @cdrage?
@gravyboat @sbstp @beardypig feel free to create it! Perhaps distribute the username/pass when you create it to the maintainers. Then do a PR with the new key :)
Just making sure this doesn't get lost in the ether again
Now I don't know how to make a PR request but I did try my hand this. I made a Twitch account and set up streamlink in it and got the Client-ID if you wanna use it. If there is a discord or email I can use to post the twitch account and the temp email I used to make the account let me know. As for the Client-ID, it is pwkzresl8kj2rdj6g7bvxl9ys1wly3j
Thanks @thinkpad4! We'll have to get this updated here: https://github.com/streamlink/streamlink/blob/master/src/streamlink/plugins/twitch.py#L31 regarding the email creds and twitch account, let's see what people weigh in with, it might be best to just send the details to a few people directly.
@gravyboat I emailed @cdrage with the account info for the twitch channel and email I used to create the Twitch channel
@gravyboat Can I email you what I sent @cdrage can I email you using the email on your website?
@thinkpad4 Yep that's fine!
Sent
Thanks I got it!
If you wanna make the PR please do, I don't know how to make one. You can change the twitch password too, the temp email is set to expire after a year
I'll update it shortly, not sure I will have time tonight.
I've proposed a PR to update this. Sorry for the delay.
@gravyboat No worries, you did make sure to change the Twitch password right? Don't need to know what it is, just that it will be secured
Yeah I took care of it. @cdrage @beardypig what's the best way to get these details to you? I would prefer that at least 3 of us have the creds. We'll have to come to some sort of conclusion regarding the email as well, I propose we use a shared protonmail account.
Bus factor 3, good.
@gravyboat personal email on my github would be best:)
@cdrage Do you have a publicly available key I can encrypt the password with?
Will close this once @cdrage confirms he has a copy of the credentials.
@gravyboat
http://charliedrage.com/me
@cdrage I've sent that over to you, once you have confirmed you have them we'll be all set on that aspect. We still need to come to a conclusion regarding the email address, any suggestions or preferences?
@gravyboat @beardypig @cdrage I would suggest use a agreed upon protonmail for the email. Keep it simple. Also the temp email I used I set to expire in 1 year, just saying
@thinkpad4 Yep I remember that note from your original email, no worries we'll get it sorted shortly!
@gravyboat received and :+1: my side!
We good to close this now that a few people have the credentials?
@beardypig all good from me, let's close this :)
Still not fixed. What could I be doing wrong? Still taking me to http://livestreamer.tanuki.se/en/develop/twitch_oauth.html?error=redirect_mismatch&error_description=Parameter+redirect_uri+does+not+match+registered+URI. Really need this feature.
@chiefstank have you tried the latest version / nightly?
@beardypig sorry for late response and happy holidays. I have the latest version but have not tried nightly.
Most helpful comment
@thinkpad4 Yep I remember that note from your original email, no worries we'll get it sorted shortly!