Instagram Oauth2 implicit authentication redirect

2019-04-14 02:44发布

I am using the oauth2 Instagram implicit flow to do login in Instagram, the base url that I am using is this:

https://api.instagram.com/oauth/authorize/?client_id=MY_CLIENT_ID&redirect_uri=http://example.com/oauth_redirect.html&response_type=token

This url show me the Instagram login page, I introduce user and password and if they are correct the API redirects me to the redirect_uri, but when I introduce a bad user or password it redirects me to this unavailable page in Instagram:

https://www.instagram.com/accounts/login/?force_classic_login=&next=/oauth/authorize/%3Fclient_id%MY_CLIENT_ID%26redirect_uri%3Dhttp%3A//example.com/oauth_redirect.html%26response_type%3Dtoken

This is a usual flow where the user doesn't introduce a correct password or email.

How can I resolve it? Is this something related with the configuration.

Thanks for your help.

1条回答
不美不萌又怎样
2楼-- · 2019-04-14 03:13

I encounter exactly the same issue. I've just submit a bug report to the Instagram team, so I hope that would help.

However, I encourage you to do the same to accelerate things, right here: https://help.instagram.com/contact/438525166257277

查看更多
登录 后发表回答