Closed AntoineLevesque closed 8 years ago
Why did you close this issue @AntoineLevesque? I'm getting the exact same issue I have triple checked and the redirect_uri that is being sent is identical to the settings in twitch.
I guess you did what I did, https://github.com/WebTheoryLLC/omniauth-twitch works fine without this error.
when using it with devise, my callback url is this in my routes :
http://localhost:3000/users/auth/twitchtv/callback
I set it correctly on the twitch website, but I get this when I try to authenticate :
I, [2016-08-27T12:12:05.655744 #36066] INFO -- omniauth: (twitchtv) Callback phase initiated. E, [2016-08-27T12:12:07.105747 #36066] ERROR -- omniauth: (twitchtv) Authentication failure! invalid_credentials: OAuth2::Error, Bad Request: {"error":"Bad Request","status":400,"message":"Parameter redirect_uri does not match registered URI"} Processing by Users::OmniauthCallbacksController#failure as HTML
you can try to replicate by cloning my project : https://github.com/AntoineLevesque/plebsunleashed/tree/twitchauth