Discourse VK Authentication (vkontakte)

:discourse2: Summary Discourse VK Authentication allows users to login to your forum using VK.
:hammer_and_wrench: Repository Link https://github.com/discourse/discourse-vk-auth
:open_book: Install Guide How to install plugins in Discourse

After installing the plugin you can go to vk.com and:

  1. Create a new application (or use existing one) at Sign in | VK. (choose “Website” under Platform in the form for a new application.)
  2. Go to the application settings and note the app ID and Secure key.
  3. In your Discourse instance, go to Site Settings, filter by “VK” and enter the app ID and the Secure key.
  4. Check the “vk auth enabled” checkbox, and you’re done!

You should now see the button to login via VK:

Last edited by @JammyDodger 2024-06-03T21:50:50Z

Check documentPerform check on document:
14 Likes

Now you need to specify “Trusted Redirect URL”

image

Description: URL to which the browser will be redirected
user after clicking the “Login as” button.
It is important to indicate the address if you are using the scheme
authorization Connect.redirectAuth.

Please tell me what to write here :heart_hands:

1 Like

Need to specify this url:
https://example.com/auth/vkontakte/callback

in example.com your domain name

2 Likes

VKontakte switches to vk.ru domain

VKontakte is switching to the vk.ru domain — now all API integrations and authorizations will only be available through it.

To ensure that your services work correctly, change their domains by September 30 — for example:

vk.ru/dev instead of vk.com/dev
oauth.vk.ru instead of oauth.vk.com
api.vk.ru instead of api.vk.com

If you have any questions, please contact Support: dev.vk.com/ru/support

Thanks for informing us! I see the vk.com website still appears to be up. Are you saying that it will stop working at some point? When will it stop working?

Looks like the plugin is going to need an update to address this change.

1 Like

Official notification in Russian, screenshot attached.

Can you copy/paste that into a reply here, so it is translated for us?

1 Like

ВКонтакте переходит на домен vk.ru — теперь все API-интеграции и авторизации будут доступны только через него.

  Чтобы ваши сервисы работали корректно, до 30 сентября измените их домены — например:
  • vk.ru/dev вместо vk.com/dev
  • oauth.vk.ru вместо oauth.vk.com
  • api.vk.ru вместо api.vk.com

  По всем вопросам заходите в Поддержку: dev.vk.com/ru/support
1 Like

Thank you! The deadline appears to be September 30 but now we are at October 30. When will the vk.com domain stop working?

1 Like

The domain has not stopped working, which is important for APIs and applications. They may discontinue support at any time. They gave notice on September 5 that everything had to be changed by September 30. It is still working, but may stop at any time.

1 Like

VK in Russia is analogous to Facebook, while Yandex is analogous to Google, a major search engine and IT giant. If you were to consider adding Instant authorization for Yandex, it would be very convenient for all Russian-speaking users in Russia, the CIS, and around the world.

1 Like

Мы обновились
и переехали на новый домен
workspace.vk.ru

We have been updated
and moved to a new domain
workspace.vk.ru

It’s started. They’ll shut down .com soon.

2 Likes

Can you edit the plugin, test that it is working and then make a pull request?

1 Like

I’ll try tomorrow. Only locally, I don’t have an online forum right now.

1 Like

Done

1 Like

Can you paste a link to the pr here on its own line?