VKCOM / vk-android-sdk

Android library for working with VK API, authorization through VK app, using VK functions.
MIT License
456 stars 226 forks source link

invalid token #515

Closed zhiqiangluo closed 1 year ago

zhiqiangluo commented 2 years ago

{“error”:“invalid-token”. "errror_description":"token is incrorrect"} this issue occurs when I use vk_android_sdk 3.5.2,The problem has not been fixed

maximgavrilov commented 2 years ago

Скорее-всего причина связана с тем, что форсится добавление Scope.OFFLINE, а он не поддерживается уже больше двух лет.

https://github.com/VKCOM/vk-android-sdk/blob/e5ef9f63070c038c9cfbb8667ed463cadabf9ad7/core/src/main/java/com/vk/api/sdk/auth/VKAuthManager.kt#L137

iliailemkov commented 2 years ago

@zhiqiangluo could you give more info?

olegsm commented 1 year ago

Can't reproduce without info. Reopen this issue if it appears again.