Step by Step Guide to Configure VKontakte as an OAuth Server

  1. Go to https://vk.com/apps?act=manage and log into your VKontakte account.
  2. You will be presented with following screen. Click on Create Application.

  3. You will be shown a form where you have to enter Application Name and Type. Select Platform as Website and fill other details as required. Now click on Connect Site.

  4. You will be asked for a verification code that will be sent on the phone number registered with VKontakte.

  5. After Successful verification, you will be brought to Application Management page. Go to Settings tab. Here you will find Secure Key and Secure Token. These are your Client ID and Client Secret, respectively. Copy these credentials in MO OAuth Plugin configuration on corresponding fields.

  6. On the same page, you will find a field for Authorized Redirect URL. Enter the same value as shown in MO OAuth Plugin and then Click on Save.

You can download OAuth Client plugin using the following link.

WordPress OAuth Login ( OAuth Client )

 VKontakte Endpoints and Scope:

Client ID : from the step 6 above
Client Secret : from the step 6 above
Scope: openid
Authorize Endpoint: https://oauth.vk.com/authorize
Access Token Endpoint: https://oauth.vk.com/access_token
Get User Info Endpoint: https://api.vk.com/method/users.get?fields=id,name,email,age_range,first_name,gender,last_name,link&access_token=

If you are facing any difficulty please mail us on info@miniorange.com.