G
G
Gleb Genken2021-03-31 17:02:59
API
Gleb Genken, 2021-03-31 17:02:59

Authorization for VK Mini App that only works in the mobile app?

In order to gain experience in the field of bot breeding, I decided to make bots for simple toys, and reached VK Mini Apps, everything seems to be clear there too - you open DevTools in the browser, look at requests, simulate them, take a Cookie or something similar (in case VK Mini Apps - sign), but I came across an application that is only available through the VK application (which is what is said when trying to log in from the browser), changing the User-Agent in the browser did not help.
I know that in VK Mini Apps, sign (Bearer token) is used to launch, like

vk_access_token_settings = & vk_app_id = 9999999 & vk_are_notifications_enabled = 1 & vk_is_app_user = 1 & vk_is_favorite = 1 & vk_language = ru & vk_platform = desktop_web & vk_ref = catalog_recent & vk_ts = 9999999999 & vk_user_id = 9999999999 & sign = -_ kP6UfjdtSRP4jI9rMOm2Hai890tde6rtNOW989dew
,

which is sent to the server in the headers of the request. But I couldn't figure out where to get this token on the client . It would be very useful to know how and where it is taken, because sniffing virtual machine traffic from Android every time is inconvenient.
Who can tell in more detail about the formation of this token in a situation with mobile-only?

Thanks in advance for any help!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question