OAuth redirect with Heroku custom domain

Hello,

I have a small web application with login through Twitch and it is hosted in Heroku.

With the default Heroku domain it works perfectly (https://midomain.herokuapp.com) but if I use a custom domain (https://midomain.com) it tells me to “redirect the URL mismatch” when I try to login.

I changed the OAuth Redirect URL in my Twitch panel and I use Rails with Devise.

Has anyone had this problem before?

Thank you

Yes, because changing the URL in the dashboard will take maybe up to 30 minutes to propogate.

if you do change the URL, make sure you changed it both in your redirect string, and in the dashboard. Then give it 15/30 minutes to update on Twitch’s side properly

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.