V
V
Vitaly2017-05-19 00:52:08
symfony
Vitaly, 2017-05-19 00:52:08

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: a4f794e223a2401a846493ff959e26b3.png
At the same time, this redirect_uri has been added to the application settings.
proof:f9512a50b27e4a7e9e7ab6a82e27d9c5.png
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

1 answer(s)
V
Valery Ozhiganov, 2017-05-19
@Silent_wizard

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 question

Ask a Question

731 491 924 answers to any question