Vkontakte Social Identity Provider Configuration Details
You can set up the Vkontakte social identity provider through the Admin UI or in a conf/identityProvider-vkontakte.json
file. IDM generates the identityProvider-vkontakte.json
file when you configure and enable this social identity provider in the Admin UI. Alternatively, you can create the file manually.
The following table includes the information shown in the Admin UI Vkontakte Provider pop-up window, along with associated information in the identityProvider-vkontakte.json
file:
Vkontakte Social Identity Provider Configuration Properties
Property (UI) | Property (JSON file) | Description |
---|---|---|
Application ID | clientId | The client identifier for your Vkontakte App |
Secure Key | clientSecret | Used with the Client ID to access the applicable Vkontakte API |
Scope | scope | An array of strings that allows access to user data. |
Authorization Endpoint | authorizationEndpoint | Typically https://oauth.vk.com/authorize . |
Token Endpoint | tokenEndpoint | Endpoint that receives a one-time authorization code, and returns an access token; typically "https://oauth.vk.com/access_token |
User Info Endpoint | userInfoEndpoint | Endpoint that transmits scope-related fields; typically https://api.vk.com/method/users.get |
API Version | apiVersion | Version of the applicable VKontakte API, available from VK Developers Documentation, API Versions section. The default VKontakte API version used for IDM 7 is 5.73. |
Not in the Admin UI | provider | Name of the social identity provider |
Not in the Admin UI | configClass | Configuration class for the authentication module |
Not in the Admin UI | basicAuth | Whether to use basic authentication |
Not in the Admin UI | authenticationIdKey | The user identity property, such as id |
Not in the Admin UI | propertyMap | Mapping between Vkontakte and IDM |
For information on social identity provider buttons and badges, see "Social Identity Provider Button and Badge Properties".