Answer the question
In order to leave comments, you need to log in
How to finalize authorization through VK?
Hello! I do authorization in the admin panel through VK.
This code: https://pastebin.com/uk2u0J2p
The problem is that when you go to the admin panel, you are thrown to the link admin?vk_user_id=123456 (accordingly, it is written in the file from which id to let in), and if you copy If you open this link without authorization, you will still be admitted to the panel.
Why? How to fix this jamb?
Answer the question
In order to leave comments, you need to log in
User authorization must occur through the access_token received from VKontakte.
Here is a similar question: How is it better to pull out the access_token in VK?
If you open it without authorization, you will still be let into the panel.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question