omniauth / omniauth-instagram

OmniAuth strategy for Instagram.
111 stars 84 forks source link

Getting "Invalid redirect_uri" in development #41

Open yuchunc opened 4 years ago

yuchunc commented 4 years ago

Hi,

I am working on a new application utilizing IG's OAuth, and keep running in to this error when hitting IG's authentication api in development:

{
  "error_type": "OAuthException",
  "code": 400,
  "error_message": "Invalid redirect_uri"
}

I tried pushing the code to Heroku and everything works, so I know my setup on FB developer console should be fine.

I am assuming it's an https issue, and is attempting to use ngrok as work around.

Is there a better way to work with IG's authentication in development environment?

Thanks

kris commented 1 year ago

I'm also running into this, using localhost, ngrok. Would be cool to get some feedback. Thanks