I did an app which displays some datas from Twitch API,
I registered 2 apps in https://dev.twitch.tv/console/apps : the development one and the production one,
The URL of the production one is : https://versifixion.herokuapp.com
The URL of the development one is : http://localhost:3000
Everything works fine with the development one, but in the production one I get the “Parameter+redirect_uri+does+not+match+registered+URI” error in the URL,
I put the right client_id and client_secret for every environment, but even in production I’m redirected to “http://localhost:3000/?error=redirect_mismatch&error_description=Parameter+redirect_uri+does+not+match+registered+URI”, but the redirect_uri in prod is https://versifixion.herokuapp.com
I can’t see where is the problem