Skip to content

vkontakte do not work #1329

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Ichinya opened this issue Jan 30, 2025 · 2 comments
Open

vkontakte do not work #1329

Ichinya opened this issue Jan 30, 2025 · 2 comments
Labels

Comments

@Ichinya
Copy link

Ichinya commented Jan 30, 2025

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

Copy link

stale bot commented Apr 26, 2025

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 stale bot added the stale label Apr 26, 2025
@vhar
Copy link

vhar commented Apr 28, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants