D
D
dvb_d2016-11-16 16:18:59
Django
dvb_d, 2016-11-16 16:18:59

How to store access_token for Django application returned in url?

After authorization, the vk api form will redirect to the address containing the access_token in the url. How do I store the token and send the user to the main page of the application?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Peter, 2016-11-16
@petermzg

So the redirect happens to your server, where you get the necessary data in the code and give a simple page with javascript that accesses your main page in the browser through window.opener.
And there you can already redirect window.location or another approach.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question