Twitch omniauth - Twitch has no control over the content or security of http://localhost:3000

Using ** omniauth-twitch**for login with twitch and set

**OAuth Redirect URL = http://localhost:3000/auth/twitch/callback**

**config.omniauth :twitch, 'xx','xx',**
**                       redirect_uri: 'http://localhost:3000/auth/twitch/callback'**

but it gives an error regarding redirect-uri

I believe, this is because you are serving over http rather than https and on localhost.

It’s the only time I’ve seen it myself is when returning to a http endpoint or localhost.

I forget my repeat steps, but you should switch to https.

If you need some SSL termination to localhost easily try:

https://ngrok.com/

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