Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting "Invalid redirect_uri" in development #41

Open
yuchunc opened this issue Jun 22, 2020 · 1 comment
Open

Getting "Invalid redirect_uri" in development #41

yuchunc opened this issue Jun 22, 2020 · 1 comment

Comments

@yuchunc
Copy link

yuchunc commented Jun 22, 2020

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
Copy link

kris commented Sep 22, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants