Z
Z
zelsky2015-05-18 20:45:37
Django
zelsky, 2015-05-18 20:45:37

Localhost and VKontakte authorization?

I use django-allauth.
I receive in response.

{"error":"invalid_request","error_description":"redirect_uri has wrong domain, check application settings"}

d8e4233d666f4b3fbca731b4f9d4a813.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Evgeny Maltsev, 2015-05-18
@zelsky

Try using 127.0.0.1 instead of "localhost"

R
Rikcon, 2015-05-18
@Rikcon

Because the VKontakte server sends data back to you, to this domain that you specify, and for it the localhost is not you, it is he himself.
Use ngrok.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question