M
M
max_vr2016-05-19 10:34:00
Android
max_vr, 2016-05-19 10:34:00

How to get access token vk without binding to ip?

Good time of the day. I started to study api VKontakte, in parallel I saw a simple messenger without using vk sdk. I use simple client authorization. Faced such a problem: when changing the ip-address, the access_token becomes invalid, and you have to re-enter the login password. How can this be fixed? Thanks in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Gromadchuk, 2016-05-19
@max_vr

It is necessary to do authorization with offline rights , then access_token will not be bound to ip and will be indefinite.
Of course, such an access_token is not eternal. It will stop working if the user changes the password or denies the app access in settings .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question