Answer the question
In order to leave comments, you need to log in
Error when authorizing through the Odnoklassniki application "The specified redirect_uri is not registered in the application settings." What is the reason?
For registration + authorization through social networks in a PHP project on Symfony, I use HWIOAuthBundle. I set up the configuration of the security component, it seems to be correct: authorization via VKontakte works as it should. Similarly, I'm trying to log in through Odnoklassniki. The component redirects me to the page with the OK widget, but the widget contains an error message with the text below:
"The specified redirect_uri is not registered in the application settings.
redirect_uri: localhost:8000/login/check-odnoklassniki ".
Proof:
At the same time, this redirect_uri has been added to the application settings.
proof:
I'm confused by the link in the response on the page with the error message (where, in theory, there should be a normal OK widget). It contains the following in its parameters:
"&redirect_uri=http%3A%2F%2Flocalhost%3A8000%2Flogin%2Fcheck-odnoklassniki".
Is it normal to have the characters %3A%2F%2, %3A, %2 instead of the corresponding ':' and '/'? If this does not interfere with authorization, then what is the problem?
Thank you in advance.
Answer the question
In order to leave comments, you need to log in
In appearance, indeed, everything is correctly configured.
Please write to [email protected] with a description of the problem and the id of your application, we'll take a closer look.
PS: %3A and %2F are fine, see percent-encoding
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question