Instagram Oauth2 implicit authentication redirect to page unavailable if you introduce bad password

二次信任 提交于 2020-01-13 05:34:08

问题


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:


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



来源:https://stackoverflow.com/questions/48972288/instagram-oauth2-implicit-authentication-redirect-to-page-unavailable-if-you-int

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!