Answer the question
In order to leave comments, you need to log in
Django registration via VK. Create an app?
Hello!
I want to register on the site using VK. Site on Django, so far local, i.e. at localhost:8000
For authorization I use python-social-auth.
I made all the settings as advised in the documentation.
When creating a VK application, I selected the application type Website and then configured it as in the screenshot
And now when I contact the address, http://127.0.0.1:8000/login/vk-oauth2
they return it to me
{"error":"invalid_request","error_description":"redirect_uri is incorrect, check application redirect uri in the settings page"}
Answer the question
In order to leave comments, you need to log in
Solved the problem, thanks to Valery Ryaboshapko , redirect_uri must be specified 127.0.0.1:8000/complete/vk-oauth2
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question