Providers icon indicating copy to clipboard operation
Providers copied to clipboard

vkontakte do not work

Open ichinya opened this issue 10 months ago • 2 comments

When you click on the sign in via vk button, it redirects to the link:

https://oauth.vk.com/authorize?redirect_uri=https%3A%2F%2Fsite.com%2Fsocialite%2Fvkontakte%2Fcallback&response_type=code&client_id=123&scope=email&state=9bxpF1WqEUs5SF5xpCakUNBbBqC7Wk0x0SvWUfXx Image

but if you click on the address bar, and then press "enter" (refresh the page), it will take you to the site: https://id.vk.com/auth?return_auth_hash=29b25d51a269189a40&redirect_uri=https%3A%2F%2Fsite.com%2Fsocialite%2Fvkontakte%2Fcallback&redirect_uri_hash=97e5c300a53fb544f6&force_hash=&app_id=123&response_type=code&code_challenge=&code_challenge_method=&scope=0&state=9bxpF1WqEUs5SF5xpCakUNBbBqC7Wk0x0SvWUfXx

and then it will correctly display who requested what and the login button.

but after clicking - thrown exception: Laravel\Socialite\Two\InvalidStateException

ichinya avatar Jan 30 '25 04:01 ichinya

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 26 '25 03:04 stale[bot]

OAuth VKontakte now is deprecated. Obtaining a user access key (access token) is now possible only through OAuth VK ID. I created a pull request, but it looks like it, like many others, will go unanswered.

This only applies to newly created VK applications. Old applications continue to work with the old VKontakte provider. Therefore, changes cannot be made to the old provider, you must use the new one.

If the pull request remains ignored by the end of May, I will open access to this provider from my repository.

vhar avatar Apr 28 '25 07:04 vhar