Twitter Social Identity Provider Configuration Details
You can set up the Twitter social identity provider through the Admin UI or in a conf/identityProvider-twitter.json
file. IDM generates the identityProvider-twitter.json
file when you configure and enable the Twitter social identity provider in the Admin UI. Alternatively, you can create that file manually.
The following table includes the information shown in the Admin UI Twitter Provider pop-up window, along with associated information in the identityProvider-twitter.json
file.
Twitter Social Identity Provider Configuration Properties
Property (UI) | Property (JSON file) | Description |
---|---|---|
Consumer Key | clientId | The client identifier for your Twitter App |
Consumer Secret | clientSecret | Used with the Client ID to access the applicable Twitter API |
Authorization Endpoint | authorizationEndpoint | Typically https://api.twitter.com/oauth/authenticate ; known as a Twitter Authorize URL |
Access Token Endpoint | tokenEndpoint | Endpoint that receives a one-time authorization code, and returns an access token; typically https://api.twitter.com/oauth/access_token |
User Info Endpoint | userInfoEndpoint | Access for other URIs; typically https://api.twitter.com/1.1/account/verify_credentials.json |
Request Token Endpoint | requestTokenEndpoint | Endpoint that receives a one-time authorization code, and returns an access token; typically https://api.twitter.com/oauth/request_token |
Not in the Admin UI | provider | Name of the social identity provider |
Not in the Admin UI | authenticationIdKey | The user identity property, such as _id |
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 | propertyMap | Mapping between Twitter and IDM |
For information on social identity provider buttons and badges, see "Social Identity Provider Button and Badge Properties".