I have a user who is trying to login to my app via twitch and I keep getting a 400 “Invalid authorisation code” for his login attempts from twitch. I and other users can log out, sign up and log in. The user in question went in and disconnected the app via his connections but when trying again I get the same error.
I can’t think of anything obvious without the keys to check.
If the user does not have a verified email address you might see some funkyness, but at about the time of your post Twitch was being odd, so it should be fine now I think!
@BarryCarlyon the internal server error that he’s getting on my side is just that that what I’m using for the twitch auth isn’t handling the error from twitch properly I think.
This is the error I’m seeing in my logs when AnacondaHL tries to log in, he’s the only user I’ve seen having this issue.
"message":"Error in OAuth Server: Failed to complete OAuth handshake with Twitch. failed [400] {\"error\":\"Bad Request\",\"status\":400,\"message\":\"Invalid authorization code\"}","time":{"$date":1427905958968}
Next step is to get AnacondaHL to remove your application in the applications list. Logout of Twitch and then retry.
There is nothing 100% clear to the issue. Unless (and I only suggest this as it was the problem before), unless, AnacondaHL has malware on his machine (which sounds ridiculous but solved a login issue someone else was having with me before)