VK login
Enable VK ID login with Application ID and Secure key. Uses id.vk.ru OAuth with PKCE.
VK login
When on, VK appears on sign-in and register if App ID and Secure key are set (and Social login master is on).
Where to find it
Admin → Settings → Mods → Social → VK
| Field | Key |
|---|---|
| Enable | toggle.social_vk (defaults on; still needs credentials) |
| App ID | vk_app_id |
| Secure key | vk_app_secret |
Setup
1. Create/manage an app at VK for developers / Manage apps.
2. Copy Application ID and Secure key from that same app.
3. Register the admin Redirect URI:
https://YOUR-DOMAIN/api/auth/oauth/vk/callback
4. Paste keys, enable, save.
This integration uses VK ID (id.vk.ru) with PKCE - not the older oauth.vk.com flow.
Common problems
Wrong Secure key
Must be the Secure key from the same app as the App ID.
Token exchange fails
Callback must include VK's device_id (the app handles this). Wrong redirect or mixed keys usually cause failures.