Instagram login API is in use. After approving the app, the following error occurs.
The user denied your request.
It worked well until yesterday. What's the problem?
Instagram login API is in use. After approving the app, the following error occurs.
The user denied your request.
It worked well until yesterday. What's the problem?
The value of the authorization buttons is different in other languages which probably causes the issue, I guess an issue on Instagram itself.
After doing some research I found out you can change the language of the authorization screen using the following parameter:
&hl=en
Did some test with my apps and it's solving the issue.
Note: The language parameter is not in the official documentation, so in theory they could change it, but for now it is fixing the issue.
authorize_params
in omniauth.rb
like so: provider :instagram, ENV['INSTAGRAM_KEY'], ENV['INSTAGRAM_SECRET'], authorize_params: { hl: "en" }
Apr 2, 2019 at 19:59
Workaround
I can confirm that there is a problem in other languages except English.
I had the same problem. If you set the web main language to English, you will be logged in.
I have same error, but &hl=en
helps me.
Facebook and instagram support completely not competent, there are huge problems and no way to inform support about them.
...&response_type=code&scope=basic&hl=en
Apr 17, 2019 at 6:22
I came here after I figured the actual problem out. The problem is the value of the confirm button. Apparently they have some code that checks it for being equal to "Authorize". You can see how that might form an issue in other languages.
Temporary workaround
I got the same problem today. The app/client was revoked without a reason and any time that I tried to re-auth (get the auth/Access token) I received an error message with:
error_reason=user_denied
error=access_denied
error_description=The+user+denied+your+request
-
I solved by changing the browser language during the auth-code procedure (your own or via third party websites like pixelunion). I used Firefox with the addon Language Switch https://addons.mozilla.org/en-US/firefox/addon/languageswitch/ and Set the language to "English" (the plugin adds a flag in the toolbar. Left click on it and then on the "English" text). After changing to the (accepted) English language the procedure finished without issues.
Note: it's almost impossible to contact the instagram/facebook support. Really disappointing.
Try to load the latest version of Google Chrome.
I had the same issue but updating Chrome fixed it
I have the same problem. In my case it is the iPhone App. I use "UIWebView" to display the login screen of Inatagram. In the case of English, it works well, and in the case of Japanese, it becomes an error.